]> git.donarmstrong.com Git - lilypond.git/blob - lily/music.cc
release: 0.1.0
[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 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #include "music.hh"
11 #include "music-list.hh"
12 #include "debug.hh"
13
14 MInterval
15 Music::time_int() const
16 {
17     return MInterval(0,0);
18 }
19
20 void
21 Music::print()const
22 {
23 #ifndef NPRINT
24     mtor << name() << "{";
25     if  (type_str_!="" || id_str_!="")
26         mtor << "`" <<type_str_ << " = " << id_str_<<"\'";
27     do_print();
28     mtor << "}\n";
29 #endif
30 }
31
32 void
33 Music::transpose(Melodic_req const*)
34 {
35     
36 }
37
38 void
39 Music::translate(Moment )
40 {
41 }
42
43 void
44 Music::do_print()const
45 {
46 }
47
48
49 IMPLEMENT_IS_TYPE_B(Music);
50
51
52
53     
54 Music::Music()
55 {
56     parent_music_l_ =0;
57 }
58
59 IMPLEMENT_IS_TYPE_B1(Change_reg,Music)
60