summaryrefslogtreecommitdiff
path: root/muse2
diff options
context:
space:
mode:
Diffstat (limited to 'muse2')
-rw-r--r--muse2/muse/undo.cpp15
-rw-r--r--muse2/muse/undo.h5
2 files changed, 1 insertions, 19 deletions
diff --git a/muse2/muse/undo.cpp b/muse2/muse/undo.cpp
index eccb4690..5081f86c 100644
--- a/muse2/muse/undo.cpp
+++ b/muse2/muse/undo.cpp
@@ -577,11 +577,6 @@ UndoOp::UndoOp()
type=UndoOp::DoNothing;
}
-UndoOp::UndoOp(UndoType type_)
-{
- type = type_;
-}
-
UndoOp::UndoOp(UndoType type_, int a_, int b_, int c_)
{
assert(type_==AddKey || type_==DeleteKey ||
@@ -642,16 +637,6 @@ UndoOp::UndoOp(UndoType type_, Event& nev, Part* part_, bool doCtrls_, bool doCl
doClones = doClones_;
}
-UndoOp::UndoOp(UndoType type_, int c, int ctrl_, int ov, int nv)
- {
- assert(false); // DELETETHIS whole ctor.
-
- type = type_;
- channel = c;
- ctrl = ctrl_;
- oVal = ov;
- nVal = nv;
- }
UndoOp::UndoOp(UndoType type_, Marker* copyMarker_, Marker* realMarker_)
{
diff --git a/muse2/muse/undo.h b/muse2/muse/undo.h
index 4fded825..a0b9c935 100644
--- a/muse2/muse/undo.h
+++ b/muse2/muse/undo.h
@@ -111,17 +111,14 @@ struct UndoOp {
UndoOp();
UndoOp(UndoType type, int a, int b, int c=0);
UndoOp(UndoType type, int n, Track* track);
- UndoOp(UndoType type, Part* part, unsigned old_len_or_tick=-1, unsigned new_len_or_tick=-1, bool doCtrls=false, bool doClones=false); // FIXME these bools are UNUSED!!
+ UndoOp(UndoType type, Part* part, unsigned old_len_or_tick=-1, unsigned new_len_or_tick=-1, bool doCtrls=false, bool doClones=false); // FIXME these bools are UNUSED!!. XTICKS!
UndoOp(UndoType type, Part* part, const char* old_name, const char* new_name);
UndoOp(UndoType type, Event& oev, Event& nev, Part* part, bool doCtrls, bool doClones);
UndoOp(UndoType type, Event& nev, Part* part, bool doCtrls, bool doClones);
- UndoOp(UndoType type, Part* part, unsigned tick, bool doCtrls, bool doClones); // FIXME FINDMICHJETZT XTicks!
- UndoOp(UndoType type, int c, int ctrl, int ov, int nv);
UndoOp(UndoType type, const char* changedFile, const char* changeData, int startframe, int endframe);
UndoOp(UndoType type, Marker* copyMarker, Marker* realMarker);
UndoOp(UndoType type, Track* track, const char* old_name, const char* new_name);
UndoOp(UndoType type, Track* track, int old_chan, int new_chan);
- UndoOp(UndoType type);
};
class Undo : public std::list<UndoOp> {