]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/music.hh
2003 -> 2004
[lilypond.git] / lily / include / music.hh
index 13e79e65b3d9c19a322d7e0e25f38e941134f7da..95a9777f3b1cd2c69c91f401c669d07edcfbc600 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
@@ -21,6 +21,7 @@
 
 #define get_mus_property(x) internal_get_mus_property(ly_symbol2scm(x))
 #define set_mus_property(x,y) internal_set_mus_property(ly_symbol2scm (x), y)
+#define is_mus_type(x) internal_is_music_type(ly_symbol2scm (x))
 
 /** Music is anything that has duration and supports both time compression and
   transposition.
@@ -42,13 +43,13 @@ public:
 
   SCM internal_get_mus_property (SCM) const;
   void internal_set_mus_property (SCM , SCM val);
-  void add_music_type (SCM);
-  bool is_music_type (SCM) const;
+  SCM get_property_alist (bool mut) const;
+  bool internal_is_music_type (SCM) const;
   
   virtual Pitch to_relative_octave (Pitch);
-
+  String name ()const;
   /// The duration of this piece of music
-  virtual Moment length_mom () const;
+  virtual Moment get_length () const;
   virtual Moment start_mom () const;
   void print () const;
   /// Transpose, with the interval central C to #p#
@@ -71,5 +72,4 @@ DECLARE_UNSMOB(Music,music);
 
 Music* make_music_by_name (SCM sym);
 
-
 #endif // MUSIC_HH