]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/source.cc
clean up Sources
[lilypond.git] / lily / source.cc
index 9d978d4fae93d9b5e20e8b86fed9f6daa7b331ba..811b4dd6814dd541400b38895eae08f39c16ed88 100644 (file)
 Sources::Sources ()
 {
   path_ = 0;
-  is_binary_ = false;
 }
 
-void
-Sources::set_binary (bool bo)
+
+Sources::Sources (Sources const &)
 {
-  is_binary_ = bo;
+  assert (false);
 }
 
+
 void
 Sources::set_path (File_path *f)
 {
@@ -64,16 +64,3 @@ Sources::~Sources ()
     }
 }
 
-Source_file *
-Sources::get_sourcefile (char const *str0)
-{
-  for (vector<Source_file*>::iterator i = sourcefiles_.begin();
-       i != sourcefiles_.end (); i++)
-    {
-      if ((*i)->contains (str0))
-       return *i;
-    }
-
-  return 0;
-}
-