From 2b7e45477365549f422e743b6537cd7e32982eff Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 3 Mar 1997 19:23:28 +0000 Subject: [PATCH] lilypond-0.0.38 --- hdr/registergroup.hh | 44 ++++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 14 deletions(-) diff --git a/hdr/registergroup.hh b/hdr/registergroup.hh index c3a4df4a62..6d6e76a15b 100644 --- a/hdr/registergroup.hh +++ b/hdr/registergroup.hh @@ -12,25 +12,41 @@ #include "plist.hh" -#include "staffeleminfo.hh" +#include "staff-elem-info.hh" +#include "register.hh" + /** Group a number of registers. Usually delegates everything to its contents. + Postfix: group */ -class Register_group { -public: +class Register_group_register : public Request_register { +protected: IPointerList reg_list_; + virtual void do_print()const; +public: + + /** + Junk #reg_l#. + + Pre: + #reg_l# is in #reg_list_# + */ + virtual void terminate_register(Request_register * reg_l); - void set_dir(int i); - bool acceptable_request_b(Request*); - void pre_move_processing(); - void post_move_processing(); - void acknowledge_element(Staff_elem_info info); - bool try_request(Request*); - void process_requests(); - virtual ~Register_group(); - void add(Request_register* reg_p); - bool contains_b(Request_register*); -// bool contains_b(Register_group*); + /** + Remove #reg_l# from the list, and return it. + */ + Request_register * get_register_p(Request_register*reg_l); + virtual void set_feature(Features i); + virtual bool acceptable_request_b(Request*); + virtual void pre_move_processing(); + virtual void post_move_processing(); + virtual void acknowledge_element(Staff_elem_info info); + virtual bool try_request(Request*); + virtual void process_requests(); + virtual ~Register_group_register(); + virtual void add(Request_register* reg_p); + virtual bool contains_b(Request_register*); }; #endif // REGISTERGROUP_HH -- 2.11.4.GIT