]> git.donarmstrong.com Git - lilypond.git/blob - lily/re-rhythmed-music.cc
release: 1.1.61
[lilypond.git] / lily / re-rhythmed-music.cc
1 /*   
2   re-rhythmed-music.cc --  implement Re_rhythmed_music
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1999 Jan Nieuwenhuizen <janneke@gnu.org>
7
8  */
9
10 #include "re-rhythmed-music.hh"
11 #include "music-iterator.hh"
12 #include "global-translator.hh"
13
14 // urg
15 class Foo_translator : public Global_translator 
16 {
17 };
18
19 Music_iterator*
20 Re_rhythmed_music::to_rhythm (Music_iterator* r)
21 {
22   return r;
23 }
24
25 Re_rhythmed_music::Re_rhythmed_music (Music* m, Music* r)
26   : Music_wrapper (m)
27 {
28   Music_iterator* i = Music_iterator::static_get_iterator_p (r);
29   Global_translator*t = new Foo_translator ();
30   i->init_translator (r, t);
31   i->construct_children ();
32   element_l ()->to_rhythm (i);
33 }
34
35 void
36 Re_rhythmed_music::do_print () const
37 {
38   Music_wrapper::do_print ();
39 }
40
41