13
0
livetrax/libs/surfaces/mackie/pot.h
Paul Davis 5ace191bff drastic, fundamental redesign of MCP code
git-svn-id: svn://localhost/ardour2/branches/3.0@11861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-10 14:27:44 +00:00

29 lines
595 B
C++

#ifndef __ardour_mackie_control_protocol_pot_h__
#define __ardour_mackie_control_protocol_pot_h__
#include "controls.h"
#include "ledring.h"
namespace Mackie {
class Pot : public Control
{
public:
Pot (int id, std::string name, Group & group)
: Control (id, name, group)
, _led_ring (id, name + "_ring", group) {}
virtual type_t type() const { return type_pot; }
virtual const LedRing & led_ring() const {return _led_ring; }
static Control* factory (Surface&, int id, const char*, Group&);
private:
LedRing _led_ring;
};
}
#endif /* __ardour_mackie_control_protocol_pot_h__ */