]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/g-staff-side.hh
release: 1.1.18
[lilypond.git] / lily / include / g-staff-side.hh
1 /*   
2   g-staff-side.hh -- declare G_staff_side_item
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef G_STAFF_SIDE_HH
11 #define G_STAFF_SIDE_HH
12
13 #include "item.hh"
14
15 /*
16   DO NOT USE AS BREAKABLE ITEM!
17
18   (-> core dump!)
19  */
20 class G_staff_side_item : public Item
21 {
22 public:
23   Score_element * to_position_l_;
24   Direction dir_;
25   Link_array<Score_element> support_l_arr_;
26   
27   G_staff_side_item ();
28   void set_victim (Score_element*);
29   void add_support (Score_element*);
30
31   virtual void set_default_direction ();
32   VIRTUAL_COPY_CONS(Score_element);
33 protected:
34   virtual void do_substitute_dependency (Score_element*,Score_element*);
35   virtual void do_pre_processing ();
36   virtual void do_post_processing ();
37 };
38
39 #endif /* G_STAFF_SIDE_HH */
40