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