]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/key.hh
release: 0.1.65
[lilypond.git] / lily / include / key.hh
index 5875f84e6bfdef49aed1cfa02922b6f33a0d67f4..90c14792353fc710aa69f8f7d1d0e12bf537803b 100644 (file)
@@ -9,6 +9,7 @@
 
 #include "varray.hh"
 #include "scalar.hh"
+#include "lily-proto.hh"
 
 /// administration of current key in one octave.
 class Octave_key {
@@ -33,9 +34,12 @@ public:
   bool multi_octave_b_;
   
   void clear ();
-  Octave_key&oct (int);
+  Octave_key const& oct (int) const;
   void set (int name, int acc);
-  void set (int oct, int name, int acc);
+  void set (Musical_pitch);
+
+  bool different_acc (Musical_pitch) const;
+  
   Key();
   void print () const;  
 };