void operator()();
void undo();
-
+
int set_state (const XMLNode&, int version);
XMLNode& get_state ();
void operator()();
void undo();
-
+
int set_state (const XMLNode&, int version);
XMLNode& get_state ();
struct NotePropertyChange {
DiffCommand::Property property;
- boost::shared_ptr<Evoral::Note<TimeType> > note;
+ boost::shared_ptr< Evoral::Note<TimeType> > note;
union {
- uint8_t old_value;
+ uint8_t old_value;
TimeType old_time;
};
union {
- uint8_t new_value;
+ uint8_t new_value;
TimeType new_time;
};
};
void apply_command(Session& session, Command* cmd);
void apply_command_as_subcommand(Session& session, Command* cmd);
-
-
bool write_to(boost::shared_ptr<MidiSource> source);
// MidiModel doesn't use the normal AutomationList serialisation code
XMLNodeList children = node.children ();
uint32_t n_audio = 0;
-
+
for (XMLNodeIterator i = children.begin(); i != children.end(); ++i) {
if ((prop = node.property ("inputs")) != 0 && _direction == Input) {