]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/source.hh
be3a900eaad7282eab9131d7a11a4445851b7d44
[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 /*   A set of sourcefiles.  */
13 class Sources 
14 {
15   Sources (Sources const&) {}
16   Cons<Source_file> *sourcefile_list_;
17   bool is_binary_;
18
19 public:
20   Sources ();
21   ~Sources ();
22
23   Source_file *get_file (String &file_name );
24   Source_file *get_sourcefile (char const*);
25   void add (Source_file* sourcefile );
26   void set_path (File_path*);
27   void set_binary (bool);
28
29   const File_path *path_;
30 };
31
32
33
34 #endif /* SOURCE_HH */