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