]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/key-item.hh
release: 0.0.78
[lilypond.git] / lily / include / key-item.hh
index e56af8e682063f6760478f80499a45da9cd91a63..a1ab3dc6d48960bf01e16f4c16f287f9286d53f5 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  key-item.hh -- part of LilyPond
+  key-item.hh -- part of GNU LilyPond
 
   (c) 1996,97 Han-Wen Nienhuys
 */
@@ -16,15 +16,18 @@ struct Key_item : Item {
     Array<int> pitch;
     Array<int> acc;
     int c_position;
+    bool default_b_;
 
     
     /* *************** */
-NAME_MEMBERS(Key_item);
+    DECLARE_MY_RUNTIME_TYPEINFO;
+    SCORE_ELEM_CLONE(Key_item);
+
     Key_item(int cposition);
     void add(int pitch, int acc);
-    void read(const Key_register&);
+    void read(const Key_engraver&);
     void set_c_position(int);
-    void preprocess();
+    virtual void do_pre_processing();
     Molecule* brew_molecule_p()const;
 };