]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/local-key-item.hh
release: 1.3.86
[lilypond.git] / lily / include / local-key-item.hh
index 3e8b531e0e07ca3da35e1b489aa4d8effe87ddeb..e1f45bd305cf56f67e64bc6db31e1d01a9eb82a7 100644 (file)
@@ -1,39 +1,26 @@
 /*
   local-key-item.hh -- part of GNU LilyPond
 
-  (c) 1996--1998 Han-Wen Nienhuys
+  (c) 1996--2000 Han-Wen Nienhuys
 */
 
 #ifndef LOCALKEYITEM_HH
 #define LOCALKEYITEM_HH
-#include "item.hh"
-#include "array.hh"
-#include "musical-pitch.hh"
 
-/**
-  Accidentals which can be different for each octave.
 
-  TODO:
-  update item if Items are removed
+#include "array.hh"
+#include "musical-pitch.hh"
 
-  TODO
-  
-  figure out private/public
-  
- */
-class Local_key_item : public Item {
+class Local_key_item
+{
+  static Molecule parenthesize (Score_element*me, Molecule) ;
 public:
-    
-    Array<Musical_pitch> accidental_pitch_arr_;
-    Link_array<Item> support_items_;
-    int c0_position_i_;
-    Local_key_item ();
-    void add_support (Item*);
-    void add (Musical_pitch);
-protected:
-    virtual void do_pre_processing();    
-    virtual void do_substitute_dependency (Score_element*,Score_element*);
-    virtual Molecule* do_brew_molecule_p() const;
+  static SCM brew_molecule (SCM);
+  static void add_pitch (Score_element*me, Musical_pitch, bool cautionary, bool natural);
+  static bool has_interface (Score_element*);
+  static void set_interface (Score_element*);  
 };
+
+
 #endif // LOCALKEYITEM_HH