79986643c0
Trunk merge conflicts resolved git-svn-id: svn://localhost/ardour2/branches/undo@756 d708f5d6-7413-0410-9779-e7cbd77b26cf
27 lines
561 B
C++
27 lines
561 B
C++
#include <pbd/controllable.h>
|
|
#include <pbd/xml++.h>
|
|
|
|
#include "i18n.h"
|
|
|
|
using namespace PBD;
|
|
|
|
sigc::signal<void,Controllable*> Controllable::Created;
|
|
sigc::signal<void,Controllable*> Controllable::GoingAway;
|
|
sigc::signal<bool,Controllable*> Controllable::StartLearning;
|
|
sigc::signal<void,Controllable*> Controllable::StopLearning;
|
|
|
|
Controllable::Controllable ()
|
|
{
|
|
Created (this);
|
|
}
|
|
|
|
XMLNode&
|
|
Controllable::get_state ()
|
|
{
|
|
XMLNode* node = new XMLNode (X_("Controllable"));
|
|
char buf[64];
|
|
_id.print (buf);
|
|
node->add_property (X_("id"), buf);
|
|
return *node;
|
|
}
|