]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/global-translator.hh
(An orchestral part): new
[lilypond.git] / lily / include / global-translator.hh
index ab59e7bf52fbc81e9a6e5b3dad777d7f86dce271..33133bf9e8546c69436496c2e7c13d01cf96f31e 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
@@ -14,8 +14,8 @@
 #include "moment.hh"
 #include "pqueue.hh"
 
-
-class Global_translator : public virtual Translator_group{
+class Global_translator : public virtual Translator_group
+{
   PQueue<Moment> extra_mom_pq_;
 public:
   VIRTUAL_COPY_CONS (Translator);
@@ -24,12 +24,15 @@ public:
   Moment now_mom_;
   Global_translator ();
 
-  int moments_left_i () const;
+  int get_moments_left () const;
   Moment sneaky_insert_extra_moment (Moment);
   void add_moment_to_process (Moment);
   void run_iterator_on_me (Music_iterator*);
+
+  void apply_finalizations ();
+  void add_finalization (SCM);
   
-  virtual Music_output *get_output_p ();     
+  virtual Music_output *get_output ();     
   virtual void prepare (Moment);
   virtual void one_time_step ();
   virtual void finish ();