]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/swallow-perf.cc
(internal_print): only call
[lilypond.git] / lily / swallow-perf.cc
index 173224ec8af09df520949d18de7e75c1875f58a4..2c0dbad55c0ae46686930c40c71d490b99a2d07e 100644 (file)
@@ -7,13 +7,15 @@
 */
 
 #include "performer.hh"
+#include "music.hh"
+
 
 class Swallow_performer : public Performer
 {
 public:
   TRANSLATOR_DECLARATIONS (Swallow_performer);
 protected:
-  virtual bool try_music (Music*);
+  virtual bool try_music (Music *);
 };
 
 bool
@@ -23,16 +25,18 @@ Swallow_performer::try_music (Music *m)
       || m->is_mus_type ("melisma-playing-event"))
     return false;
   else
-    return true; 
+    return true;
 }
 
 Swallow_performer::Swallow_performer ()
 {}
 
+#include "translator.icc"
+
 ADD_TRANSLATOR (Swallow_performer,
-/* descr */       "",
-/* creats*/       "",
-/* accepts */     "general-music",
-/* acks  */      "",
-/* reads */       "",
-/* write */       "");
+               /* descr */ "",
+               /* creats*/ "",
+               /* accepts */ "general-music",
+               /* acks  */ "",
+               /* reads */ "",
+               /* write */ "");