From eb3f50e15c9f9ed1880c59fecd6f8b3edcc05820 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 12 May 2017 14:51:31 +0100 Subject: change the way ControlProtocols (control surfaces) are notified and handle Stripable selection changes The Editor continues to notify them, but via a direct call to ControlProtocolManager, not a signal. The CP Manager calls the ControlProtocol static method to set up static data structures holding selection info for all surfaces and then notifies each surface/protocol that selection has changed. --- libs/surfaces/wiimote/wiimote.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/surfaces/wiimote') diff --git a/libs/surfaces/wiimote/wiimote.h b/libs/surfaces/wiimote/wiimote.h index c1fbcfd03f..23e9eedaa2 100644 --- a/libs/surfaces/wiimote/wiimote.h +++ b/libs/surfaces/wiimote/wiimote.h @@ -55,6 +55,8 @@ public: void wiimote_callback (int mesg_count, union cwiid_mesg mesg[]); + void stripable_selection_changed () {} + protected: void do_request (WiimoteControlUIRequest*); int start (); -- cgit v1.2.3