X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftranslator-group.hh;h=3bb6b4255f8787cb0d2493a7890dc9e6c09199eb;hb=9f3572d98bb948c9689cd1f75401a029451fa001;hp=45a7c77030343940383b54fc65e3a9e912466c43;hpb=04265f11d1f21416ccebd2dcaa1d903dc781b36e;p=lilypond.git diff --git a/lily/include/translator-group.hh b/lily/include/translator-group.hh index 45a7c77030..3bb6b4255f 100644 --- a/lily/include/translator-group.hh +++ b/lily/include/translator-group.hh @@ -47,24 +47,20 @@ private: Translator_group_void_method precomputed_self_method_bindings_[TRANSLATOR_METHOD_PRECOMPUTE_COUNT]; - SCM protected_events_; - - DECLARE_LISTENER (create_child_translator); + DECLARE_LISTENER (eat_event); public: VIRTUAL_COPY_CONSTRUCTOR (Translator_group, Translator_group); DECLARE_SMOBS (Translator_group, dummy); public: - virtual void connect_to_context (Context *c); - virtual void disconnect_from_context (); + void connect_to_context (Context *c); virtual Translator_group *get_daddy_translator ()const; virtual SCM get_simple_trans_list (); + virtual bool try_music (Music *req); virtual void initialize (); virtual void finalize (); - void protect_event (SCM ev); - void stop_translation_timestep (); void start_translation_timestep (); @@ -78,6 +74,7 @@ public: Context *context () const { return context_; } protected: SCM simple_trans_list_; + SCM accept_hash_table_; Context *context_; friend class Context_def;