]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/global-context.hh
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / include / global-context.hh
index adc0b07932e6098315b518ea3b1d7e783f262051..cc87ff3c9bb3e18fcca49c55144355962f219119 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #ifndef GLOBAL_CONTEXT_HH
@@ -16,6 +16,9 @@ class Global_context : public virtual Context
 {
   PQueue<Moment> extra_mom_pq_;
   Output_def *output_def_;
+  int unique_count_;
+
+  DECLARE_CLASSNAME(Global_context);
 
   friend class Output_def;
 public:
@@ -29,7 +32,7 @@ public:
   void apply_finalizations ();
   void add_finalization (SCM);
 
-  virtual Music_output *get_output ();
+  virtual SCM get_output ();
   virtual void prepare (Moment);
   virtual void one_time_step ();
   virtual void finish ();
@@ -37,6 +40,7 @@ public:
   virtual Moment now_mom () const;
   virtual Context *get_default_interpreter ();
 
+  int new_unique ();
   Moment previous_moment () const;
 protected:
   Moment final_mom_;