]> git.donarmstrong.com Git - lilypond.git/blob - lily/relative-octave-music.cc
ad2350fa39bdf337e71e58a3587d51762367dc40
[lilypond.git] / lily / relative-octave-music.cc
1 /*   
2   relative-music.cc --  implement Relative_octave_music
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1998--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #include "relative-music.hh"
11 #include "warn.hh"
12
13 Pitch
14 Relative_octave_music::to_relative_octave (Pitch)
15 {
16         /*
17                 ugh: last-pitch should  be junked.
18
19                 Change this for lilypond 2.0. When you do,
20                 then B should start where A left off.
21
22                 \relative { A \relative { ...} B }
23
24                 */
25
26   return * unsmob_pitch (get_mus_property ("last-pitch"));
27 }
28
29
30 Relative_octave_music::Relative_octave_music ()
31 {
32 }
33
34 ADD_MUSIC (Relative_octave_music);