diff options
author | Florian Jung <flo@windfisch.org> | 2013-08-28 00:40:01 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2013-08-28 00:40:01 +0200 |
commit | aad3d78d3ec7e4916028059cb7b0023eedbaa095 (patch) | |
tree | 334ed55449926dd581c78cc34e28f96856875901 /muse2/muse/event.h | |
parent | ea623cac61f43baf3890c2c8a71c95d7ad453e28 (diff) |
added "similar"-comparison to Event(Base)
Diffstat (limited to 'muse2/muse/event.h')
-rw-r--r-- | muse2/muse/event.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/muse2/muse/event.h b/muse2/muse/event.h index e512e03d..b2f5a50a 100644 --- a/muse2/muse/event.h +++ b/muse2/muse/event.h @@ -64,6 +64,7 @@ class Event { void setType(EventType t); Event& operator=(const Event& e); bool operator==(const Event& e) const; + bool isSimilarTo(const Event& other) const; int getRefCount() const; bool selected() const; @@ -137,6 +138,8 @@ class EventList : public EL { public: ciEvent find(const Event&) const; iEvent find(const Event&); + ciEvent findSimilar(const Event&) const; + iEvent findSimilar(const Event&); iEvent add(Event event); void move(Event& event, unsigned tick); void dump() const; |