Merged with trunk R992.
[ardour.git] / libs / ardour / ardour / control_protocol_manager.h
index 8eda7a4555b83a648faa3b1aa3f68f3f40dada50..39e4803637416c818f9d636efff64725898494d9 100644 (file)
@@ -23,7 +23,11 @@ struct ControlProtocolInfo {
     std::string path;
     bool requested;
     bool mandatory;
+    bool supports_feedback;
     XMLNode* state;
+
+    ControlProtocolInfo() : descriptor (0), protocol (0), state (0) {}
+    ~ControlProtocolInfo() { if (state) { delete state; } }
 };
 
  class ControlProtocolManager : public sigc::trackable, public Stateful
@@ -46,6 +50,8 @@ struct ControlProtocolInfo {
 
        static const std::string state_node_name;
 
+       void set_protocol_states (const XMLNode&);
+
        int set_state (const XMLNode&);
        XMLNode& get_state (void);