]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.7
authorfred <fred>
Sun, 24 Mar 2002 19:53:03 +0000 (19:53 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:53:03 +0000 (19:53 +0000)
lily/include/key-grav.hh

index 7b54214892bc15e10a5671520c40049c4440d278..51a978e592bf8512bcfbc9f3c8f269e100b897ce 100644 (file)
 #include "engraver.hh"
 #include "key.hh"
 
-struct Key_engraver : Engraver {
+/**
+  Make the key signature.
+ */
+class Key_engraver : public Engraver {
+    void create_key();
+    void read_req(Key_change_req * r);
+
+public:
     Key key_;
     Key_change_req * keyreq_l_;
     Key_item * kit_p_;
@@ -21,17 +28,15 @@ struct Key_engraver : Engraver {
     bool default_key_b_;
     bool change_key_b_;
     
+protected:
     virtual bool do_try_request(Request *req_l);
     virtual void do_process_requests();
     virtual void do_pre_move_processing();
     virtual void do_post_move_processing();
     virtual void acknowledge_element(Score_elem_info);
+public:
     Key_engraver();
     DECLARE_MY_RUNTIME_TYPEINFO;
-private:
-    void create_key();
-    
-    void read_req(Key_change_req * r);
 };
 
 #endif // KEYGRAV_HH