]> git.donarmstrong.com Git - lilypond.git/blob - lily/music.cc
patch::: 1.3.54.hwn2
[lilypond.git] / lily / music.cc
1 /*
2   music.cc -- implement Music
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9  #include <typeinfo>
10
11 #include "music.hh"
12 #include "music-list.hh"
13 #include "debug.hh"
14 #include "musical-pitch.hh"
15
16 Music::Music()
17 {
18 }
19
20 void    
21 Music::compress (Moment)
22 {
23 }
24
25 void
26 Music::do_print() const
27 {
28 }
29
30 Moment
31 Music::length_mom () const
32 {
33   return 0;
34 }
35
36 void
37 Music::print() const
38 {
39 #ifndef NPRINT
40   if (! flower_dstream)
41     return ;
42   DEBUG_OUT << classname(this) << "{";
43   
44   do_print();
45   DEBUG_OUT << "}\n";
46 #endif
47 }
48
49 Musical_pitch
50 Music::to_relative_octave (Musical_pitch m)
51 {
52   return m;
53 }
54
55
56 void
57 Music::transpose (Musical_pitch )
58 {
59 }
60