]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/system.hh
* lily/include/paper-score.hh (class Paper_score): remove unused prototypes.
[lilypond.git] / lily / include / system.hh
1
2 /*
3   line-of-score.hh -- part of GNU LilyPond
4
5   (c) 1996--2005 Han-Wen Nienhuys
6 */
7
8 #ifndef SYSTEM_HH
9 #define SYSTEM_HH
10
11 #include "column-x-positions.hh"
12 #include "spanner.hh"
13
14 /*
15   If you keep following offset reference points, you will always end
16   up at the root object. This root object is called @ref{System}, and it
17   represents a system (i.e. a line of music).
18 */
19 class System : public Spanner
20 {
21 public:
22   int rank_;
23   void post_processing ();
24   SCM get_paper_system ();
25   SCM get_paper_systems ();
26
27   System (SCM, Object_key const *);
28   System (System const &, int);
29   virtual Grob *clone (int count) const;
30
31   int element_count () const;
32   int spanner_count () const;
33
34   void break_into_pieces (Array<Column_x_positions> const &);
35   static bool has_interface (Grob *);
36
37   Link_array<Item> broken_col_range (Item const *, Item const *) const;
38   Link_array<Grob> columns () const;
39
40   void add_column (Paper_column *);
41   void typeset_grob (Grob *);
42   void pre_processing ();
43
44 protected:
45 };
46
47 void set_loose_columns (System *which, Column_x_positions const *posns);
48 #endif /* SYSTEM_HH */
49