2 general-script-def.hh -- declare General_script_def
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef GENERAL_SCRIPT_DEF_HH
11 #define GENERAL_SCRIPT_DEF_HH
13 #include "lily-proto.hh"
15 #include "virtual-methods.hh"
16 #include "direction.hh"
19 Definition of anything that is put aside staff/notes.
21 class General_script_def : public Input {
23 VIRTUAL_COPY_CONS(General_script_def);
25 virtual Direction staff_dir() const;
27 virtual Direction rel_stem_dir() const;
28 virtual int priority_i() const;
29 virtual bool inside_b() const;
30 virtual Molecule get_molecule (Paper_def* p, Direction dir_) const;
31 bool equal_b (General_script_def const&) const;
32 virtual ~General_script_def() {}
34 virtual bool do_equal_b (General_script_def const *) const;
35 virtual void do_print() const;
38 #endif // GENERAL_SCRIPT_DEF_HH