]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/general-script-def.hh
release: 0.1.8
[lilypond.git] / lily / include / general-script-def.hh
1 /*
2   general-script-def.hh -- declare General_script_def
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef GENERAL_SCRIPT_DEF_HH
11 #define GENERAL_SCRIPT_DEF_HH
12
13 #include "lily-proto.hh"
14 #include "input.hh"
15 #include "virtual-methods.hh"
16 /**
17   Definition of anything that is put aside staff/notes.
18  */
19 class General_script_def : public Input {
20 public:
21     VIRTUAL_COPY_CONS(General_script_def,General_script_def);
22     DECLARE_MY_RUNTIME_TYPEINFO;
23     virtual int staff_dir_i()const;
24     void print() const;
25     virtual int rel_stem_dir_i()const;
26     virtual int priority_i()const;
27     virtual bool inside_b()const;
28     virtual Atom get_atom (Paper_def* p, int dir_i_)const;
29     bool equal_b (General_script_def const&)const;
30     virtual ~General_script_def() {}
31     
32 protected:
33     virtual bool do_equal_b (General_script_def const *)const;
34     virtual void do_print()const;
35 };
36
37 #endif // GENERAL_SCRIPT_DEF_HH