]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/staff.hh
release: 0.0.65
[lilypond.git] / lily / include / staff.hh
index 7811f76c0ecfd79464df5cf7c26f3105fb69df25..f9f24d8150f69bcde487600051a9e9f7d4a411cd 100644 (file)
@@ -1,7 +1,7 @@
 /*
   staff.hh -- declare Staff
 
-  source file of the LilyPond music typesetter
+  source file of the GNU LilyPond music typesetter
 
   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
 */
 #define STAFF_HH
 
 #include "plist.hh"
-#include "proto.hh"
+#include "lily-proto.hh"
 #include "moment.hh"
 
-/// base class for a collection of voices.
+/// A collection of voices.
 class Staff {
     Staff(const Staff&src);
     
@@ -23,14 +23,14 @@ public:
     Link_list<Voice*> voice_list_;
     /// runtime field
     Link_list<Staff_column*> cols_;
+    Line_of_staff * staff_line_l_;
 
     Score *score_l_;
     PScore *pscore_l_;
-    PStaff *pstaff_l_;
     
     /* *************************************************************** */
 
-    void add(const Link_list<Voice*> &s);
+    void add(Link_list<Voice*> const&s);
 
     void add_voice(Voice *v_p);
     Paper_def*paper()const;
@@ -45,9 +45,9 @@ public:
     void clean_cols() ;
     Staff();
     
-    virtual void set_output(PScore * destination)=0;
-    virtual Staff_walker *get_walker_p()=0;    
-    virtual ~Staff() { }
+    virtual void set_output(PScore * destination);
+    Staff_walker *get_walker_p();
+    virtual ~Staff();
     void add_col(Staff_column*);
 protected: