]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/system.hh
* The grand 2005-2006 replace.
[lilypond.git] / lily / include / system.hh
index 5eaa2bed66d2c5b5364a721dbbfba78463f9589f..ce6f69fee6783dd5b49e997980cf8fb3aac7034e 100644 (file)
@@ -2,7 +2,7 @@
 /*
   line-of-score.hh -- part of GNU LilyPond
 
-  (c) 1996--2005 Han-Wen Nienhuys
+  (c) 1996--2006 Han-Wen Nienhuys
 */
 
 #ifndef SYSTEM_HH
@@ -10,6 +10,7 @@
 
 #include "column-x-positions.hh"
 #include "spanner.hh"
+#include "grob-array.hh"
 
 /*
   If you keep following offset reference points, you will always end
 */
 class System : public Spanner
 {
-public:
   int rank_;
+  Grob_array *all_elements_;
+  void init_elements ();
+  friend class Paper_score;    // ugh.
+  Paper_score *pscore_;        // ugh.
+  
+public:
+  int get_rank () const;
   void post_processing ();
-  SCM get_line ();
-  SCM get_lines ();
+  SCM get_paper_system ();
+  SCM get_paper_systems ();
 
   System (SCM, Object_key const *);
   System (System const &, int);
-  virtual Grob *clone (int count) const;
 
   int element_count () const;
   int spanner_count () const;
@@ -42,8 +48,11 @@ public:
   void pre_processing ();
 
 protected:
+  virtual void derived_mark () const;
+  virtual Grob *clone (int count) const;
 };
 
 void set_loose_columns (System *which, Column_x_positions const *posns);
+
 #endif /* SYSTEM_HH */