_name (str)
{
_active = false;
+ session->RouteAdded.connect (mem_fun(*this, &ControlProtocol::add_strip));
}
ControlProtocol::~ControlProtocol ()
{
}
+void
+ControlProtocol::add_strip (std::list<boost::shared_ptr<ARDOUR::Route> >)
+{
+ route_list_changed();
+}
+
void
ControlProtocol::next_track (uint32_t initial_id)
{
virtual int set_feedback (bool yn) { return 0; }
virtual bool get_feedback () const { return false; }
+ virtual void route_list_changed () {}
+
sigc::signal<void> ActiveChanged;
/* signals that a control protocol can emit and other (presumably graphical)
std::string _name;
bool _active;
+ void add_strip (std::list<boost::shared_ptr<ARDOUR::Route> >);
+
void next_track (uint32_t initial_id);
void prev_track (uint32_t initial_id);
};