]> git.donarmstrong.com Git - lilypond.git/blob - lily/music.cc
7de77d1fc9551ee6d5eed197aa5165054593cc4c
[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   if (! check_debug)
25         return ;
26   DOUT << name() << "{";
27   if  (type_str_!="" || id_str_!="")
28         DOUT << "`" <<type_str_ << " = " << id_str_<<"\'";
29   do_print();
30   DOUT << "}\n";
31 #endif
32 }
33
34 void
35 Music::transpose (Melodic_req const*)
36 {
37   
38 }
39
40 void
41 Music::translate (Moment)
42 {
43 }
44
45 void
46 Music::do_print() const
47 {
48 }
49
50
51 IMPLEMENT_IS_TYPE_B(Music);
52
53
54
55   
56 Music::Music()
57 {
58   parent_music_l_ =0;
59 }
60
61 IMPLEMENT_IS_TYPE_B1(Change_reg,Music)
62