]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/dispatcher.hh
Merge branch 'issue4032'
[lilypond.git] / lily / include / dispatcher.hh
index b11167121bb93ebf2b1a83f8c3ec7f0349bdbccf..1d3583bb673f2a7faaf588feeee90c7133a44f8c 100644 (file)
@@ -39,7 +39,8 @@ class Dispatcher
 public:
   Dispatcher ();
   void broadcast (Stream_event *ev);
-  bool is_listened (Stream_event *ev);
+  bool is_listened_class (SCM);
+  SCM listened_types ();
   void add_listener (Listener, SCM event_class);
   void remove_listener (Listener, SCM event_class);
   void register_as_listener (Dispatcher *dist);
@@ -48,6 +49,5 @@ protected:
   DECLARE_SMOBS (Dispatcher);
 };
 
-DECLARE_UNSMOB (Dispatcher, dispatcher);
 
 #endif // DISPATCHER_HH