diff options
author | André Nusser <anusser@mpi-inf.mpg.de> | 2021-04-11 20:23:04 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-07-04 11:45:53 +0200 |
commit | da3d7a913c0b10b4aa776b97def10a3727e07bd5 (patch) | |
tree | bd4dac758c6f15d0ee41c35d811ffeea18545df1 /src/events_ds.h | |
parent | fe1986214251bcd110837b81ed2159d75c58f8e2 (diff) |
Add clear member function to EventsDS.
Diffstat (limited to 'src/events_ds.h')
-rw-r--r-- | src/events_ds.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/events_ds.h b/src/events_ds.h index 5855711..fdab881 100644 --- a/src/events_ds.h +++ b/src/events_ds.h @@ -96,6 +96,9 @@ public: //! when startAddingNewGroup is again called. void startAddingNewGroup(InstrumentID instrument_id = InstrumentID()); + //! Clears the whole data structure to make it ready for a new drum kit. + void clear(); + private: struct ChannelData { |