]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/context.hh
* lily/include/lily-guile.hh: is_x -> ly_c_X_p naming.
[lilypond.git] / lily / include / context.hh
index 55a4671eaa5d9a269ec39e954f5cafdd89acc09e..75c7e65ac6f36d919741194a575187d8d2207378 100644 (file)
@@ -22,6 +22,11 @@ class Context
 
   void terminate ();
 
+private:
+  friend class Interpretation_context_handle;
+  int iterator_count_;
+  bool init_;
+  
 protected:
   Context * daddy_context_;
   SCM definition_;
@@ -29,12 +34,14 @@ protected:
   SCM context_list_;
   SCM accepts_list_;
   SCM aliases_;
+  SCM implementation_;
 
   friend class Context_def;
 public:
   SCM children_contexts () const { return context_list_; }
   SCM default_child_context_name () const;
-
+  Translator_group* implementation () const;
+  
   Context * get_parent_context () const;
   
   Context ();
@@ -68,12 +75,6 @@ public:
                                                  Music_output_def*) const;
   virtual Context *get_default_interpreter ();
   String id_string_;
-
-  SCM implementation_;
-private:
-  friend class Interpretation_context_handle;
-  int iterator_count_;
-  bool init_;
 };
 
 /*