]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/source.hh
Fix off-by-one error in constrained-breaking.
[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
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
28   const File_path *path_;
29 };
30
31 #endif /* SOURCE_HH */