]> git.donarmstrong.com Git - lilypond.git/blobdiff - hdr/score.hh
release: 0.0.20
[lilypond.git] / hdr / score.hh
index 20a4d75da84ea70a84b871b81af8822f5c742ff5..5363b475cb44d7c7a3114139bc82d32f044de8d8 100644 (file)
@@ -3,39 +3,34 @@
 #include "vray.hh"
 #include "proto.hh"
 #include "plist.hh"
-
+#include "moment.hh"
 
 /// the total music def of one movement
 struct Score {
     /// paper_, staffs_ and commands_ form the problem definition.
     Paperdef *paper_;
     IPointerList<Staff*> staffs_;
-
-    svec<Command*> input_commands_;
     
     /// "runtime" fields for setting up spacing    
     IPointerList<Score_column*> cols_;
     PScore *pscore_;
 
     /****************************************************************/
-    void add(svec<Command*> &s);
+
     /// construction
-    void add_staff(Staff *st);
-    void set(Paperdef*);
-    Score();
+    Score(Paperdef*);
     ~Score();    
     void add(Staff*);        
 
 
 
     void OK() const;
-    PCursor<Score_column *> find_col(Real,bool);
+    PCursor<Score_column *> find_col(Moment,bool);
     void process();
     void output(String fn);
-    PCursor<Score_column*> create_cols(Real);
+    PCursor<Score_column*> create_cols(Moment);
     void print() const;
-    Real last() const;
+    Moment last() const;
     
 private:
     void do_pcols();