]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/system.hh
* lily/include/book.hh (class Book): idem.
[lilypond.git] / lily / include / system.hh
index e79f96cbe53398f34381a52b7596540f74ba62b3..2fe740fddb954d6c5dc0befbec6ca6d2dc92c3ed 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
@@ -21,8 +21,12 @@ class System : public Spanner
 {
   int rank_;
   Grob_array *all_elements_;
-  void init_elements ();  
+  void init_elements ();
+  friend class Paper_score;    // ugh.
+  Paper_score *pscore_;        // ugh.
+  
 public:
+  Paper_score *paper_score () const;
   int get_rank () const;
   void post_processing ();
   SCM get_paper_system ();
@@ -34,11 +38,11 @@ public:
   int element_count () const;
   int spanner_count () const;
 
-  void break_into_pieces (Array<Column_x_positions> const &);
+  void break_into_pieces (vector<Column_x_positions> const &);
   static bool has_interface (Grob *);
 
-  Link_array<Item> broken_col_range (Item const *, Item const *) const;
-  Link_array<Grob> columns () const;
+  vector<Item*> broken_col_range (Item const *, Item const *) const;
+  vector<Grob*> columns () const;
 
   void add_column (Paper_column *);
   void typeset_grob (Grob *);