]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/audio-element.hh
(My_lily_lexer): copy scopes so temporary
[lilypond.git] / lily / include / audio-element.hh
index db7e4097d3b12780fcd0688f14f0d39a55d55345..ca54756ac4c54f2270c8b23cecffb0a2721942e7 100644 (file)
@@ -3,21 +3,23 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.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