]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/clef-reg.hh
release: 0.0.64
[lilypond.git] / lily / include / clef-reg.hh
1 /*
2   clef.hh -- part of LilyPond
3
4   (c) 1996,97 Han-Wen Nienhuys
5 */
6
7 #ifndef CLEF_HH
8 #define CLEF_HH
9
10 #include "scalar.hh"
11 #include "varray.hh"
12 #include "register.hh"
13
14 /// where is c-0 in the staff?
15 class Clef_register : public  Request_register {
16     Clef_item *clef_p_;
17     Clef_change_req * clef_req_l_;
18     void create_clef();
19     void read_req(Clef_change_req*);
20     bool set_type(String);
21 protected:
22      virtual void process_requests();
23     virtual void pre_move_processing();
24     virtual void post_move_processing();
25     virtual bool try_request(Request*);
26     virtual void acknowledge_element(Score_elem_info);
27 public:
28     int c0_position_i_;
29     String clef_type_str_;
30
31     /* ************** */
32    
33     Clef_register();
34     NAME_MEMBERS(Clef_register);
35    
36 };
37 #endif // CLEF_HH
38