summaryrefslogtreecommitdiff
path: root/libs/surfaces/mackie/fader.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-04-09 13:59:35 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-04-09 13:59:35 +0000
commitf02edae438dc2bede1de439e2e69b684a4117d80 (patch)
treea48b4a35e147494cf940d8654877cc631aafa75c /libs/surfaces/mackie/fader.h
parent63e15e173767204d17a678aa9620ca54aee359c0 (diff)
start breaking apart the various controls into their own headers and source code, and making each control know how to generate MIDI; throttle delivery of meter data and get meter ID right
git-svn-id: svn://localhost/ardour2/branches/3.0@11846 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/mackie/fader.h')
-rw-r--r--libs/surfaces/mackie/fader.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/libs/surfaces/mackie/fader.h b/libs/surfaces/mackie/fader.h
new file mode 100644
index 0000000000..b8c72b8753
--- /dev/null
+++ b/libs/surfaces/mackie/fader.h
@@ -0,0 +1,23 @@
+#ifndef __ardour_mackie_control_protocol_fader_h__
+#define __ardour_mackie_control_protocol_fader_h__
+
+#include "controls.h"
+
+namespace Mackie {
+
+class Fader : public Control
+{
+public:
+ Fader (int id, int ordinal, std::string name, Group & group)
+ : Control (id, ordinal, name, group)
+ {
+ }
+
+ virtual type_t type() const { return type_fader; }
+
+ static Control* factory (Surface&, int id, int ordinal, const char*, Group&);
+};
+
+}
+
+#endif