]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/event.hh
* scm/lily.scm (completize-formats): new function
[lilypond.git] / lily / include / event.hh
index 1782226e4f30ac7715953314daf31ffc2b3ec89e..6365b16c8631e168f1c24ad890c29e252225963d 100644 (file)
@@ -3,32 +3,26 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #ifndef EVENT_HH
 #define EVENT_HH
 
 
-#include "string.hh"
-#include "moment.hh"
-#include "virtual-methods.hh"
 #include "input.hh"
 #include "music.hh"
 #include "duration.hh"
 #include "pitch.hh"
 
-/** An atom of musical information.  This is an abstract class for any
-  piece of music that does not contain other Music.
-  
-
- */
-class Event : public Music {
+/* An atom of musical information.  This is an abstract class for any
+  piece of music that does not contain other Music.  */
+class Event : public Music
+{
 public:
   Event ();
-  VIRTUAL_COPY_CONS (Music);
+  VIRTUAL_COPY_CONSTRUCTOR (Music, Event);
   virtual void compress (Moment);
-  virtual void transpose (Pitch);
   virtual Moment get_length () const;
   virtual Pitch to_relative_octave (Pitch);
 };
@@ -43,11 +37,11 @@ public:
   SCM pitch_alist ();
   
 protected:
-  VIRTUAL_COPY_CONS (Music);
+  VIRTUAL_COPY_CONSTRUCTOR (Music, Key_change_ev);
   void transpose (Pitch  d);
 };
 
-SCM transpose_key_alist (SCM,SCM);
+SCM ly_transpose_key_alist (SCM,SCM);