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
15 #include "lily-proto.hh"
17 #include "virtual-methods.hh"
18 #include "direction.hh"
21 Definition of anything that is put aside staff/notes.
23 class General_script_def : public Input {
25 VIRTUAL_COPY_CONS(General_script_def);
27 virtual Direction staff_dir() const;
29 virtual Direction rel_stem_dir() const;
30 virtual int priority_i() const;
31 virtual bool inside_b() const;
32 virtual Molecule get_molecule (Paper_def* p, Direction dir_) const;
33 bool equal_b (General_script_def const&) const;
34 virtual ~General_script_def() {}
36 virtual bool do_equal_b (General_script_def const *) const;
37 virtual void do_print() const;
40 #endif // GENERAL_SCRIPT_DEF_HH