summaryrefslogtreecommitdiff
path: root/muse2/muse/event.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2013-08-19 22:10:22 +0200
committerFlorian Jung <flo@windfisch.org>2013-08-19 22:10:22 +0200
commit013294f58a6433671da3b34775de5a3a7ea91464 (patch)
tree7a1135f74c798f78c802c8c4e4ca4f9b0c293baa /muse2/muse/event.h
parent67c0ed979d4dd05c1d51b688c2fb02ebc681afd1 (diff)
some const-correctness. Part interface overhaul.
various fixes.
Diffstat (limited to 'muse2/muse/event.h')
-rw-r--r--muse2/muse/event.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/event.h b/muse2/muse/event.h
index 78ac7f93..ed1ddb87 100644
--- a/muse2/muse/event.h
+++ b/muse2/muse/event.h
@@ -74,7 +74,7 @@ class Event {
void write(int a, Xml& xml, const Pos& offset, bool ForceWavePaths = false) const;
void dump(int n = 0) const;
Event clone() const;
- Event mid(unsigned a, unsigned b);
+ Event mid(unsigned a, unsigned b) const;
bool isNote() const;
bool isNoteOff() const;
@@ -135,6 +135,7 @@ class EventList : public EL {
void deselect();
public:
+ ciEvent find(const Event&) const;
iEvent find(const Event&);
iEvent add(Event& event);
void move(Event& event, unsigned tick);