summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/midi_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/midi_model.h')
-rw-r--r--libs/ardour/ardour/midi_model.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/libs/ardour/ardour/midi_model.h b/libs/ardour/ardour/midi_model.h
index 6c7e26119a..6496fd169a 100644
--- a/libs/ardour/ardour/midi_model.h
+++ b/libs/ardour/ardour/midi_model.h
@@ -69,7 +69,7 @@ public:
void operator()();
void undo();
-
+
int set_state (const XMLNode&, int version);
XMLNode& get_state ();
@@ -113,7 +113,7 @@ public:
void operator()();
void undo();
-
+
int set_state (const XMLNode&, int version);
XMLNode& get_state ();
@@ -128,13 +128,13 @@ public:
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;
};
};
@@ -151,8 +151,6 @@ public:
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