]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/score.hh
patch::: 1.3.136.jcn3
[lilypond.git] / lily / include / score.hh
index a496159b10b7359d52af3dc8cf82efe6c7c6dd78..7c25235490258d8fa77ca63e2800351c51668be7 100644 (file)
@@ -3,40 +3,39 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #ifndef SCORE_HH
 #define SCORE_HH
 
-#include "array.hh"
-#include "lily-proto.hh"
-#include "string.hh"
 #include "input.hh"
 #include "lily-proto.hh"
+#include "protected-scm.hh"
 #include "parray.hh"
+#include "smobs.hh"
 
 /// the total music def of one movement
 class Score: public Input {
 public:
   /// paper_, staffs_ and commands_ form the problem definition.
   Link_array<Music_output_def> def_p_arr_;
-  Music * music_p_;
-  Scope * header_p_;
+  SCM music_;
+  Scheme_hash_table * header_p_;
 
   int errorlevel_i_;
     
   /// construction
-  Score();
+  Score ();
   Score (Score const&);
-  ~Score();    
 
-  void process();
+
+  void process ();
   void add_output (Music_output_def *def_p);
-  void print() const;
+  DECLARE_SMOBS (Score,foo);
 private:
   void run_translator (Music_output_def*);
 };
-
+Score * unsmob_score (SCM); 
 #endif