]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/source.hh
* ly/gregorian-init.ly: Simplify definition of \episemInitium and
[lilypond.git] / lily / include / source.hh
index 6420ca9165dd31d6aa2a4caed6c61192e7d39955..09c6b0553f4e19d23c196a0de9f763341600c220 100644 (file)
@@ -1,34 +1,33 @@
 /*
   source.hh -- part of LilyPond
 
-  (c) 1997--2005 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 1997--2006 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #ifndef SOURCE_HH
 #define SOURCE_HH
-#include "cons.hh"
+
 #include "flower-proto.hh"
+#include "std-vector.hh"
 
 /*   A set of sourcefiles.  */
-class Sources 
+class Sources
 {
-  Sources (Sources const&) {}
-  Cons<Source_file> *sourcefile_list_;
+  Sources (Sources const &) {}
+  vector<Source_file*> sourcefiles_;
   bool is_binary_;
 
 public:
   Sources ();
   ~Sources ();
 
-  Source_file *get_file (String &file_name );
-  Source_file *get_sourcefile (char const*);
-  void add (Source_file* sourcefile );
-  void set_path (File_path*);
+  Source_file *get_file (string *file_name);
+  Source_file *get_sourcefile (char const *);
+  void add (Source_file *sourcefile);
+  void set_path (File_path *);
   void set_binary (bool);
 
   const File_path *path_;
 };
 
-
-
 #endif /* SOURCE_HH */