summaryrefslogtreecommitdiff
path: root/muse2/muse/song.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-09-13 13:35:43 +0000
committerFlorian Jung <flo@windfisch.org>2011-09-13 13:35:43 +0000
commitfb0fbe8f65cca18487567fd1e2db63c99c024bd8 (patch)
treec4bb5ca77253af44bd00c4c2912773c42818478c /muse2/muse/song.h
parent253b9d9f1a17b98f3f6696f456e9d83f1ac9aee3 (diff)
when splitting or pasting into new parts, the new newly created parts
are automatically added to all editors which also display the "origin" parts
Diffstat (limited to 'muse2/muse/song.h')
-rw-r--r--muse2/muse/song.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/muse2/muse/song.h b/muse2/muse/song.h
index 872993e5..09174f71 100644
--- a/muse2/muse/song.h
+++ b/muse2/muse/song.h
@@ -27,6 +27,9 @@
#include <QObject>
#include <QStringList>
+#include <map>
+#include <set>
+
#include "pos.h"
#include "globaldefs.h"
#include "tempo.h"
@@ -163,6 +166,8 @@ class Song : public QObject {
~Song();
bool applyOperationGroup(Undo& group, bool doUndo=true);
+ void informAboutNewParts(const std::map< Part*, std::set<Part*> >&);
+ 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);
void endMsgCmd();
@@ -421,6 +426,7 @@ class Song : public QObject {
void midiPortsChanged();
void midiNote(int pitch, int velo);
void controllerChanged(Track* t);
+ void newPartsCreated(const std::map< Part*, std::set<Part*> >&);
};
extern Song* song;