From: fred Date: Thu, 27 Mar 1997 13:47:39 +0000 (+0000) Subject: lilypond-0.0.46.jcn1 X-Git-Tag: release/1.5.59~6167 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=400e531a1f3f6f02c31b9edfdd53f60762c32cb8;p=lilypond.git lilypond-0.0.46.jcn1 --- diff --git a/lily/include/input-register.hh b/lily/include/input-register.hh new file mode 100644 index 0000000000..6149121e29 --- /dev/null +++ b/lily/include/input-register.hh @@ -0,0 +1,45 @@ +/* + input-register.hh -- declare Input_register + + source file of the LilyPond music typesetter + + (c) 1997 Han-Wen Nienhuys +*/ + + +#ifndef INPUT_REGISTER_HH +#define INPUT_REGISTER_HH + +#include "plist.hh" +#include "string.hh" +#include "proto.hh" +#include "input.hh" + +struct Input_register : Input { + IPointerList ireg_list_; + String name_str_; + + void add(Input_register*); + Input_register(); + bool group_b() const; + ~Input_register(); + /** Get an Input_register with a certain name + + @return 0 if not found. + */ + Input_register *get_ireg_l(String name) const; + Input_register(Input_register const&); + /** + The names of all non -groups. + */ + Array get_nongroups_str_arr() const; + void print() const; + /** + Construct the registers. + */ + Array get_nongroup_p_arr()const; +}; + +Request_register * get_nongroup_register_p(String); + +#endif // INPUT_REGISTER_HH diff --git a/lily/include/staff-sym-reg.hh b/lily/include/staff-sym-reg.hh new file mode 100644 index 0000000000..24bd2c7abb --- /dev/null +++ b/lily/include/staff-sym-reg.hh @@ -0,0 +1,28 @@ +/* + staff-sym-reg.hh -- declare + + source file of the LilyPond music typesetter + + (c) 1997 Han-Wen Nienhuys +*/ + + +#ifndef STAFF_SYM_REG_HH +#define STAFF_SYM_REG_HH +#include "register.hh" +#include "moment.hh" + +/** + Manage the staff symbol. + */ +class Staff_sym_register : public Request_register { + Staff_symbol *span_p_; + Moment last_mom_; +public: + ~Staff_sym_register(); + Staff_sym_register(); + NAME_MEMBERS(Staff_sym_register); + virtual void pre_move_processing(); + virtual void post_move_processing(); +}; +#endif // STAFF_SYM_REG_HH