]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.70pre
authorfred <fred>
Sun, 24 Mar 2002 19:45:37 +0000 (19:45 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:45:37 +0000 (19:45 +0000)
lily/include/interpreter.hh
lily/interpreter.cc [new file with mode: 0644]

index 1c0703f16b5a6ba2ca5cfa16b912749f72cdf252..92541c7211a94d28ed9f37e3f16d8c95fe80bc3d 100644 (file)
@@ -7,12 +7,17 @@
 */
 
 
-#ifndef Interpreter_HH
-#define Interpreter_HH
+#ifndef INTERPRETER_HH
+#define INTERPRETER_HH
+
+#include "lily-proto.hh"
 
 class Interpreter {
 public:
+    int music_list_i_;
+    Interpreter();
+    virtual ~Interpreter();
     virtual bool interpret_request_b(Request*) { return false;}
 };
 
-#endif // Interpreter_HH
+#endif // INTERPRETER_HH
diff --git a/lily/interpreter.cc b/lily/interpreter.cc
new file mode 100644 (file)
index 0000000..15f400b
--- /dev/null
@@ -0,0 +1,20 @@
+/*
+  interpreter.cc -- implement Interpreter
+
+  source file of the GNU LilyPond music typesetter
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+#include <assert.h>
+#include "interpreter.hh"
+
+Interpreter::Interpreter()
+{
+    music_list_i_ =0;
+}
+
+Interpreter::~Interpreter()
+{
+//    assert(!music_list_i_ );
+}