]> 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 0e7bdd8a8652d3a2eeeae53b4be43d11c630aba4..09c6b0553f4e19d23c196a0de9f763341600c220 100644 (file)
@@ -1,37 +1,33 @@
-//
-//  source.hh -- part of LilyPond
-//
-//  (c)  1997--2003 Jan Nieuwenhuizen <janneke@gnu.org>
+/*
+  source.hh -- part of LilyPond
+
+  (c) 1997--2006 Jan Nieuwenhuizen <janneke@gnu.org>
+*/
 
 #ifndef SOURCE_HH
 #define SOURCE_HH
-#include "cons.hh"
-#include "flower-proto.hh"
 
-/**
-   a set of sourcefiles.
+#include "flower-proto.hh"
+#include "std-vector.hh"
 
-   TODO: 
- */
-class Sources 
+/*   A set of sourcefiles.  */
+class Sources
 {
-  Sources (Sources const&) {}
+  Sources (Sources const &) {}
+  vector<Source_file*> sourcefiles_;
+  bool is_binary_;
+
 public:
   Sources ();
   ~Sources ();
 
-  Source_file * get_file (String &filename );
-  Source_file* get_sourcefile (char const* str0 );
-  void add (Source_file* sourcefile );
-  void set_path (File_path*p);
+  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_C_;
-private:
-  Cons<Source_file> *sourcefile_p_list_;
-  bool binary_b_ ;
+  const File_path *path_;
 };
 
-
-
-#endif // SOURCE_HH //
+#endif /* SOURCE_HH */