]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/global-context.hh
Issue 4550 (2/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / include / global-context.hh
index 49436bcf87b04277b1bf8afa52d86d24c0bf4f44..1779280accd717f8662d70983e26e89937c81390 100644 (file)
@@ -42,18 +42,11 @@ public:
   void apply_finalizations ();
   void add_finalization (SCM);
 
-  DECLARE_LISTENER (prepare);
+  void prepare (SCM);
   virtual SCM get_output ();
   virtual Output_def *get_output_def () const;
   virtual Moment now_mom () const;
-  virtual Context *get_default_interpreter (const string &context_id = "");
-
-  static Global_context *unsmob (SCM x) {
-    return dynamic_cast<Global_context *> (Context::unsmob (x));
-  }
-  static bool is_smob (SCM x) {
-    return Context::is_smob (x) && unsmob (x);
-  }
+  virtual Context *get_default_interpreter (const std::string &context_id = "");
 
   Moment previous_moment () const;
 protected: