]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/relative-music.hh
release: 1.1.62
[lilypond.git] / lily / include / relative-music.hh
1 /*   
2   relative-music.hh -- declare Relative_octave_music
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1998--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef RELATIVE_MUSIC_HH
11 #define RELATIVE_MUSIC_HH
12
13 #include "music-wrapper.hh"
14
15 class Relative_octave_music : public Music_wrapper
16 {
17 public:
18   Musical_pitch last_pitch_;
19
20   void do_print () const;
21   Relative_octave_music (Music*, Musical_pitch);
22   
23   VIRTUAL_COPY_CONS(Music);
24   virtual Musical_pitch to_relative_octave (Musical_pitch);
25 };
26
27
28 #endif /* RELATIVE_MUSIC_HH */
29