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/midievent.h | |
parent | ea623cac61f43baf3890c2c8a71c95d7ad453e28 (diff) |
added "similar"-comparison to Event(Base)
Diffstat (limited to 'muse2/muse/midievent.h')
-rw-r--r-- | muse2/muse/midievent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/muse2/muse/midievent.h b/muse2/muse/midievent.h index 8aa38f0e..dba2d727 100644 --- a/muse2/muse/midievent.h +++ b/muse2/muse/midievent.h @@ -41,6 +41,8 @@ class MidiEventBase : public EventBase { public: MidiEventBase(EventType t); virtual ~MidiEventBase() {} + + virtual bool isSimilarTo(const EventBase& other) const; virtual bool isNote() const { return type() == Note; } virtual bool isNoteOff() const; |