don't actually use a method from libardourcp inside libardour; use a PBD::Signal...
[ardour.git] / libs / ardour / control_protocol_manager.cc
index 338ea816f23a992d00bfb7b194aa80a8b14f3aa8..a84ee9eb6e0eedf79f46c7bf610ca57bba263e8f 100644 (file)
@@ -42,7 +42,7 @@ using namespace PBD;
 
 ControlProtocolManager* ControlProtocolManager::_instance = 0;
 const string ControlProtocolManager::state_node_name = X_("ControlProtocols");
-
+PBD::Signal1<void,StripableNotificationListPtr> ControlProtocolManager::StripableSelectionChanged;
 
 ControlProtocolInfo::~ControlProtocolInfo ()
 {
@@ -566,7 +566,7 @@ ControlProtocolManager::stripable_selection_changed (StripableNotificationListPt
        */
 
        DEBUG_TRACE (DEBUG::Selection, string_compose ("Surface manager: selection changed, now %1 stripables\n", sp ? sp->size() : -1));
-       ControlProtocol::notify_stripable_selection_changed (sp);
+       StripableSelectionChanged (sp); /* EMIT SIGNAL */
 
        /* now give each protocol the chance to respond to the selection change
         */