]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/source.hh
2003 -> 2004
[lilypond.git] / lily / include / source.hh
1 /*
2   source.hh -- part of LilyPond
3
4   (c) 1997--2004 Jan Nieuwenhuizen <janneke@gnu.org>
5 */
6
7 #ifndef SOURCE_HH
8 #define SOURCE_HH
9 #include "cons.hh"
10 #include "flower-proto.hh"
11
12 /*
13    a set of sourcefiles.
14  */
15 class Sources 
16 {
17   Sources (Sources const&) {}
18 public:
19   Sources ();
20   ~Sources ();
21
22   Source_file * get_file (String &filename );
23   Source_file* get_sourcefile (char const* str0 );
24   void add (Source_file* sourcefile );
25   void set_path (File_path*p);
26   void set_binary (bool);
27
28   const File_path * path_C_;
29 private:
30   Cons<Source_file> *sourcefile_list_;
31   bool is_binary_ ;
32 };
33
34
35
36 #endif // SOURCE_HH //