From aad3d78d3ec7e4916028059cb7b0023eedbaa095 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Wed, 28 Aug 2013 00:40:01 +0200 Subject: added "similar"-comparison to Event(Base) --- muse2/muse/event.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'muse2/muse/event.h') 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; -- cgit v1.2.3