]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/score.hh
*** empty log message ***
[lilypond.git] / lily / include / score.hh
index b315574933032e378b2037c776e798b0fe139ad9..38e4b3aaf5db94eddb68ca8274011ec94f62c645 100644 (file)
@@ -3,37 +3,34 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
-
 #ifndef SCORE_HH
 #define SCORE_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 {
+class Score : public Input
+{
 public:
-  /// paper_, staffs_ and commands_ form the problem definition.
-  Link_array<Music_output_def> def_p_arr_;
-  Protected_scm music_;
-  Scope * header_p_;
-
-  int errorlevel_i_;
+  Link_array<Music_output_def> defs_;
+  SCM music_;
+  SCM header_;
     
-  /// construction
-  Score();
+  Score ();
   Score (Score const&);
-  ~Score();    
-
-  void process();
-  void add_output (Music_output_def *def_p);
-private:
-  void run_translator (Music_output_def*);
+  DECLARE_SMOBS (Score,foo);
 };
+DECLARE_UNSMOB (Score,score); 
+
+
+SCM ly_run_translator (SCM, SCM);
+SCM ly_render_output (SCM, SCM);
+void default_rendering (SCM,SCM,SCM,SCM);
 
-#endif
+#endif /* SCORE_HH */