From: Heikki Tauriainen Date: Sat, 19 Oct 2013 07:01:06 +0000 (+0300) Subject: Issue 3581: Allow overriding Translator::{connect_to,disconnect_from}_context X-Git-Tag: release/2.17.29-1~10^2~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=30e55d0caf13d1814c2c7584f07a98631ed7f656;p=lilypond.git Issue 3581: Allow overriding Translator::{connect_to,disconnect_from}_context This is needed to make it easier to implement a custom translator that will listen to SetProperty events. Signed-off-by: David Kastrup --- diff --git a/lily/include/translator.hh b/lily/include/translator.hh index 41e2d9745b..be6781eb03 100644 --- a/lily/include/translator.hh +++ b/lily/include/translator.hh @@ -136,9 +136,8 @@ public: virtual void initialize (); virtual void finalize (); - /* should maybe be virtual */ - void connect_to_context (Context *c); - void disconnect_from_context (Context *c); + virtual void connect_to_context (Context *c); + virtual void disconnect_from_context (Context *c); void stop_translation_timestep (); void start_translation_timestep ();