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