summaryrefslogtreecommitdiff
path: root/libs/surfaces/control_protocol/control_protocol/control_protocol.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-12-29 21:31:14 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-12-29 21:31:14 +0000
commit77cc0f7cc84df5e242898cef0abb7d633de64d8c (patch)
tree71ec1c03dec23ac52949138cf8b5f7a1afb8e5ba /libs/surfaces/control_protocol/control_protocol/control_protocol.h
parente10d0339ccd3659e0de58db29131e528571bc8c4 (diff)
editors for control protocols (generalized); editor for Generic MIDI that allows choosing a MIDI binding map (or none); support banking in binding URLs, and other miscellany related to generic MIDI; save+restore JACK_MidiPort connection state (but cause a crash at shutdown time)
git-svn-id: svn://localhost/ardour2/branches/3.0@6411 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/control_protocol/control_protocol/control_protocol.h')
-rw-r--r--libs/surfaces/control_protocol/control_protocol/control_protocol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/surfaces/control_protocol/control_protocol/control_protocol.h b/libs/surfaces/control_protocol/control_protocol/control_protocol.h
index b3d44a15aa..559da08d33 100644
--- a/libs/surfaces/control_protocol/control_protocol/control_protocol.h
+++ b/libs/surfaces/control_protocol/control_protocol/control_protocol.h
@@ -98,6 +98,10 @@ class ControlProtocol : virtual public sigc::trackable, public PBD::Stateful, pu
std::string route_get_name (uint32_t table_index);
+ virtual bool has_editor () const { return false; }
+ virtual void* get_gui() const { return 0; }
+ virtual void tear_down_gui() { }
+
protected:
PBD::EventLoop* _event_loop;
bool _own_event_loop;