]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/pitch-interval.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / pitch-interval.hh
1 /*
2   pitch-interval.hh -- declare Pitch_interval
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2004--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef PITCH_INTERVAL_HH
10 #define PITCH_INTERVAL_HH
11
12 #include "pitch.hh"
13
14 class Pitch_interval : public Drul_array<Pitch>
15 {
16 public:
17   Pitch_interval ();
18   Pitch_interval (Pitch, Pitch);
19   Drul_array<bool> add_point (Pitch);
20   bool is_empty () const;
21 };
22
23 class Pitch_lexicographic_interval : public Drul_array<Pitch>
24 {
25 public:
26   Pitch_lexicographic_interval ();
27   Pitch_lexicographic_interval (Pitch, Pitch);
28   Drul_array<bool> add_point (Pitch);
29   bool is_empty () const;
30 };
31
32 #endif /* PITCH_INTERVAL_HH */