]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/audio-element.hh
* GNUmakefile.in (EXTRA_DIST_FILES): remove VIM stuff.
[lilypond.git] / lily / include / audio-element.hh
index c870887c6f7bb420ef262d97a93b496df3289c69..3e25ad802633a025509fa33d93079ce01ed6db5a 100644 (file)
@@ -3,21 +3,23 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #ifndef AUDIO_ELEMENT_HH
 #define AUDIO_ELEMENT_HH
 
+ #include <typeinfo>
 #include "virtual-methods.hh"
 
-struct Audio_element {
-  void print ()const;
-  
-  virtual ~Audio_element();
-  DECLARE_MY_RUNTIME_TYPEINFO;
+class Audio_element
+{
+public:
+  Audio_element ();
+  virtual ~Audio_element ();
+  virtual const char* name () const;
 protected:
-  virtual void do_print () const;
 };
+
 #endif // AUDIO_ELEMENT_HH