]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/system.hh
* configure.in (--enable-std-vector): New option.
[lilypond.git] / lily / include / system.hh
index e79f96cbe53398f34381a52b7596540f74ba62b3..a13f9c7da305e286d7314d886ff1af0a069889b9 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,7 +38,7 @@ public:
   int element_count () const;
   int spanner_count () const;
 
-  void break_into_pieces (Array<Column_x_positions> const &);
+  void break_into_pieces (std::vector<Column_x_positions> const &);
   static bool has_interface (Grob *);
 
   Link_array<Item> broken_col_range (Item const *, Item const *) const;