]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/key-item.hh
partial: 0.1.61.jcn
[lilypond.git] / lily / include / key-item.hh
index fda86e5375651cd1a2c9a7bc08196c0c4bd1b1c1..3f4b7f30e067d962b82add51a2f885c102ad938b 100644 (file)
@@ -16,18 +16,19 @@ struct Key_item : Item {
     Array<int> pitch;
     Array<int> acc;
     int c_position;
+    bool default_b_;
 
     
-    /* *************** */
-    NAME_MEMBERS();
-    SCORE_ELEM_CLONE(Key_item)
-
-    Key_item(int cposition);
-    void add(int pitch, int acc);
-    void read(const Key_register&);
-    void set_c_position(int);
-    void preprocess();
-    Molecule* brew_molecule_p()const;
+    DECLARE_MY_RUNTIME_TYPEINFO;
+    SCORE_ELEM_CLONE(Key_item);
+
+    Key_item (int cposition);
+    void add (int pitch, int acc);
+    void read (const Key_engraver&);
+    void set_c_position (int);
+protected:
+    virtual void do_pre_processing();
+    Molecule* brew_molecule_p() const;
 };
 
 #endif // KEYITEM_HH