summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_model.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-08-29 17:57:22 +0200
committerRobin Gareus <robin@gareus.org>2019-08-29 17:57:22 +0200
commit08644d8f2a35bfdd7d324bcd0c1ad74e5d868283 (patch)
tree6768e7012257447e3b26450229974149ac30b272 /libs/ardour/midi_model.cc
parent7496a856c7785888327146c9934e5db23ba5f155 (diff)
No-OP: move doxygen doc into header files
Diffstat (limited to 'libs/ardour/midi_model.cc')
-rw-r--r--libs/ardour/midi_model.cc20
1 files changed, 1 insertions, 19 deletions
diff --git a/libs/ardour/midi_model.cc b/libs/ardour/midi_model.cc
index 7060732180..d14eeb8c19 100644
--- a/libs/ardour/midi_model.cc
+++ b/libs/ardour/midi_model.cc
@@ -64,12 +64,6 @@ MidiModel::MidiModel (boost::shared_ptr<MidiSource> s)
set_midi_source (s);
}
-/** Start a new NoteDiff command.
- *
- * This has no side-effects on the model or Session, the returned command
- * can be held on to for as long as the caller wishes, or discarded without
- * formality, until apply_command is called and ownership is taken.
- */
MidiModel::NoteDiffCommand*
MidiModel::new_note_diff_command (const string& name)
{
@@ -79,7 +73,6 @@ MidiModel::new_note_diff_command (const string& name)
return new NoteDiffCommand (ms->model(), name);
}
-/** Start a new SysExDiff command */
MidiModel::SysExDiffCommand*
MidiModel::new_sysex_diff_command (const string& name)
{
@@ -89,7 +82,6 @@ MidiModel::new_sysex_diff_command (const string& name)
return new SysExDiffCommand (ms->model(), name);
}
-/** Start a new PatchChangeDiff command */
MidiModel::PatchChangeDiffCommand*
MidiModel::new_patch_change_diff_command (const string& name)
{
@@ -100,11 +92,6 @@ MidiModel::new_patch_change_diff_command (const string& name)
}
-/** Apply a command.
- *
- * Ownership of cmd is taken, it must not be deleted by the caller.
- * The command will constitute one item on the undo stack.
- */
void
MidiModel::apply_command(Session& session, Command* cmd)
{
@@ -114,11 +101,6 @@ MidiModel::apply_command(Session& session, Command* cmd)
set_edited (true);
}
-/** Apply a command as part of a larger reversible transaction
- *
- * Ownership of cmd is taken, it must not be deleted by the caller.
- * The command will constitute one item on the undo stack.
- */
void
MidiModel::apply_command_as_subcommand(Session& session, Command* cmd)
{
@@ -127,7 +109,7 @@ MidiModel::apply_command_as_subcommand(Session& session, Command* cmd)
set_edited (true);
}
-/************** DIFF COMMAND ********************/
+/* ************* DIFF COMMAND ********************/
#define NOTE_DIFF_COMMAND_ELEMENT "NoteDiffCommand"
#define DIFF_NOTES_ELEMENT "ChangedNotes"