]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/pitch-interval.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / pitch-interval.hh
index defa7a9e92defcfe7cca7ea3af4fd3d6e67b7447..a10aed5c9cb4e5a4b69cb619c76ec1bbf168f71f 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2004--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #ifndef PITCH_INTERVAL_HH
@@ -16,7 +16,16 @@ class Pitch_interval : public Drul_array<Pitch>
 public:
   Pitch_interval ();
   Pitch_interval (Pitch, Pitch);
-  void add_point (Pitch);
+  Drul_array<bool> add_point (Pitch);
+  bool is_empty () const;
+};
+
+class Pitch_lexicographic_interval : public Drul_array<Pitch>
+{
+public:
+  Pitch_lexicographic_interval ();
+  Pitch_lexicographic_interval (Pitch, Pitch);
+  Drul_array<bool> add_point (Pitch);
   bool is_empty () const;
 };