From 30e55d0caf13d1814c2c7584f07a98631ed7f656 Mon Sep 17 00:00:00 2001 From: Heikki Tauriainen Date: Sat, 19 Oct 2013 10:01:06 +0300 Subject: [PATCH] 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 --- lily/include/translator.hh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 (); -- 2.39.5