]> git.donarmstrong.com Git - lilypond.git/blob - lily/music-wrapper.cc
* configure.in: Test for and accept lmodern if EC fonts not found.
[lilypond.git] / lily / music-wrapper.cc
1 /*   
2   music-wrapper.cc --  implement Music_wrapper
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1998--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #include "music-wrapper.hh"
11
12 Music_wrapper::Music_wrapper ()
13   : Music ()
14 {
15 }
16
17 Moment
18 Music_wrapper::get_length () const
19 {
20   return element ()->get_length ();
21 }
22
23 Music*
24 Music_wrapper::element () const
25 {
26   return unsmob_music (get_property ("element"));
27 }
28
29
30 ADD_MUSIC (Music_wrapper);
31
32
33 Moment
34 Music_wrapper::start_mom () const
35 {
36   return element ()->start_mom ();
37 }