summaryrefslogtreecommitdiff
path: root/src/drumkit.h
diff options
context:
space:
mode:
authordeva <deva>2011-03-01 19:19:02 +0000
committerdeva <deva>2011-03-01 19:19:02 +0000
commite190d38057892b69246391841b234a368bc2b4ad (patch)
tree34f946bc1c3b86997d4cd45e63c433ef07b36486 /src/drumkit.h
parentc393edc920f8ee126d1bced3500b6bc1ecf86f83 (diff)
MAJOR rewrite of the internals. New input/output 'plugin' system. Still a lot missing.
Diffstat (limited to 'src/drumkit.h')
-rw-r--r--src/drumkit.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/drumkit.h b/src/drumkit.h
index caf1dc2..d79a3e4 100644
--- a/src/drumkit.h
+++ b/src/drumkit.h
@@ -30,23 +30,14 @@
#include <map>
#include <string>
-#include "sample.h"
-#include "instrument.h"
#include "channel.h"
-
-typedef std::map< std::string, Channel* > Channels;
-typedef std::map< std::string, Sample* > Samples;
-
-typedef unsigned int midi_note_t;
-typedef std::map< midi_note_t, Instrument* > Instruments;
+#include "instrument.h"
+#include "midimap.h"
class DrumKit {
public:
std::string name;
std::string description;
-
- Channels channels;
- Samples samples;
Instruments instruments;
};