summaryrefslogtreecommitdiff
path: root/muse2/muse/helper.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-05-27 13:20:58 +0000
committerFlorian Jung <flo@windfisch.org>2011-05-27 13:20:58 +0000
commit4b344cf08471bcfbce5814ddead384dddb9bb86b (patch)
tree12c3245f05008b21d51b6b29fb090ee8c43ee43f /muse2/muse/helper.h
parente8612708161b71b43d56ef47eede6cc58b035967 (diff)
fixed bug: score editor didn't react on part changes which invalidate
the Part*; it simply worked with the old, invalid pointers, which may lead to severe problems, and indeed leads to a bug when saving.
Diffstat (limited to 'muse2/muse/helper.h')
-rw-r--r--muse2/muse/helper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/muse2/muse/helper.h b/muse2/muse/helper.h
index f772ebf6..d88dcb94 100644
--- a/muse2/muse/helper.h
+++ b/muse2/muse/helper.h
@@ -10,7 +10,12 @@
#include <QString>
+class Part;
+
extern QString pitch2string(int v);
+int partToIndex(Part* p);
+Part* partFromIndex(int index);
+
#endif