]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/local-key-item.hh
release: 0.1.11
[lilypond.git] / lily / include / local-key-item.hh
index 2d4ed66e8f74b64715a463497f116bae12abf742..4d0ed37e2d8aa16eb90a471d8831625f1632a0fa 100644 (file)
@@ -13,7 +13,7 @@ struct Local_acc {
     int name_i_;
     int accidental_i_;
     int octave_i_;
-    static int compare(Local_acc&, Local_acc&);
+    static int compare (Local_acc&, Local_acc&);
 };
 
 /**
@@ -21,23 +21,29 @@ struct Local_acc {
 
   TODO:
   update item if Items are removed
+
+  TODO
+  
+  figure out private/public
+  
  */
-struct Local_key_item : Item {
+class Local_key_item : public Item {
+public:
     DECLARE_MY_RUNTIME_TYPEINFO;
     Array<Local_acc> accs;
     Link_array<Item> support_items_;
     int c0_position;
 
-    /* *************** */
+
     
-    Local_key_item(int c0position);
-    void add_support(Item*);
-    void add(int oct, int pitch, int acc);
-    void add(Melodic_req*);
-public:
+    Local_key_item (int c0position);
+    void add_support (Item*);
+    void add (int oct, int pitch, int acc);
+    void add (Melodic_req*);
+protected:
     virtual void do_pre_processing();    
-    virtual void do_substitute_dependency(Score_elem*,Score_elem*);
-    virtual Molecule* brew_molecule_p()const;
+    virtual void do_substitute_dependency (Score_elem*,Score_elem*);
+    virtual Molecule* brew_molecule_p() const;
 };
 #endif // LOCALKEYITEM_HH