]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.76
authorfred <fred>
Wed, 23 Jul 1997 21:36:14 +0000 (21:36 +0000)
committerfred <fred>
Wed, 23 Jul 1997 21:36:14 +0000 (21:36 +0000)
lily/include/swallow-perf.hh [new file with mode: 0644]
lily/swallow-perf.cc [new file with mode: 0644]

diff --git a/lily/include/swallow-perf.hh b/lily/include/swallow-perf.hh
new file mode 100644 (file)
index 0000000..7c6ec8d
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+  swallow-perf.hh -- declare Swallow_performer
+
+  source file of the GNU LilyPond music typesetter
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+
+#ifndef SWALLOW_PERF_HH
+#define SWALLOW_PERF_HH
+
+#include "performer.hh"
+
+class Swallow_performer : public Performer {
+public:
+    NAME_MEMBERS();
+    virtual bool try_request (Request* ) { return true; }
+};
+
+#endif // SWALLOW_PERF_HH
diff --git a/lily/swallow-perf.cc b/lily/swallow-perf.cc
new file mode 100644 (file)
index 0000000..7bdb355
--- /dev/null
@@ -0,0 +1,13 @@
+/*
+  swallow-perf.cc -- implement Swallow_performer
+
+  source file of the GNU LilyPond music typesetter
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+#include "swallow-perf.hh"
+
+IMPLEMENT_STATIC_NAME(Swallow_performer);
+IMPLEMENT_IS_TYPE_B1(Swallow_performer, Performer);
+ADD_THIS_PERFORMER(Swallow_performer);