13
0
livetrax/libs/pbd/controllable.cc
Hans Fugal 79986643c0 r269@gandalf: fugalh | 2006-08-03 20:18:05 -0600
Trunk merge conflicts resolved


git-svn-id: svn://localhost/ardour2/branches/undo@756 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-04 02:18:45 +00:00

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;
}