summaryrefslogtreecommitdiff
path: root/muse2/muse/song.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2013-08-10 17:22:43 +0200
committerFlorian Jung <flo@windfisch.org>2013-08-10 17:22:43 +0200
commitd51caef570ef25b97b9b4687bd870a5afcc623ec (patch)
treefd832b5f9fdd1054726d60cea57b4d05b4c0457b /muse2/muse/song.h
parent3c6e4156914cec6e3b6d822577a030cef993656a (diff)
cleanup
Diffstat (limited to 'muse2/muse/song.h')
-rw-r--r--muse2/muse/song.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/muse2/muse/song.h b/muse2/muse/song.h
index 6621de35..f6b1403d 100644
--- a/muse2/muse/song.h
+++ b/muse2/muse/song.h
@@ -172,7 +172,20 @@ class Song : public QObject {
~Song();
bool applyOperationGroup(Undo& group, bool doUndo=true);
+
+ /** this sends emits a signal to each MidiEditor or whoever is interested.
+ * For each part which is 1) opened in this MidiEditor and 2) which is
+ * a key in this map, the Editors shall no more edit this part, but instead
+ * all parts in the_map[old_part] (which is a std::set<Part*>)
+ */
void informAboutNewParts(const std::map< Part*, std::set<Part*> >&);
+ /** this sends emits a signal to each MidiEditor or whoever is interested.
+ * For each part which is 1) opened in this MidiEditor and 2) which is
+ * a key in this map, the Editors shall no more edit this part, but instead
+ * all parts in the_map[old_part] (which is a std::set<Part*>)
+ * this is a special case of the general function, which only replaces one part
+ * by up to nine different.
+ */
void informAboutNewParts(Part* orig, Part* p1, Part* p2=NULL, Part* p3=NULL, Part* p4=NULL, Part* p5=NULL, Part* p6=NULL, Part* p7=NULL, Part* p8=NULL, Part* p9=NULL);
void putEvent(int pv);