summaryrefslogtreecommitdiff
path: root/vst/drumgizmo_vst.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-01-23 20:29:45 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2012-01-23 20:29:45 +0100
commitf58c2e7aee2e392bdeea68abea960db0178b0a98 (patch)
treeb674698c92d6b4e937d913c968a6aec6a369570a /vst/drumgizmo_vst.h
parent2589b7b5dacdf55133c045a238c1187cc2ac7517 (diff)
New with GUI.
Diffstat (limited to 'vst/drumgizmo_vst.h')
-rw-r--r--vst/drumgizmo_vst.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/vst/drumgizmo_vst.h b/vst/drumgizmo_vst.h
index cf44cf7..5e063ff 100644
--- a/vst/drumgizmo_vst.h
+++ b/vst/drumgizmo_vst.h
@@ -31,10 +31,13 @@
#include <public.sdk/source/vst2.x/aeffeditor.h>
#include <drumgizmo.h>
+#include <plugingui.h>
#include "input_vst.h"
#include "output_vst.h"
+class DGEditor;
+
class DrumGizmoVst : public AudioEffectX
{
public:
@@ -91,6 +94,23 @@ private:
size_t pos;
sample_t *buffer;
size_t buffer_size;
+
+ DGEditor *editor;
+};
+
+class DGEditor : public AEffEditor {
+public:
+ DGEditor(AudioEffect* effect);
+
+ bool open(void* ptr);
+ void close();
+ bool isOpen();
+ void idle();
+
+private:
+ DrumGizmoVst* dgeff;
+ PluginGUI *plugingui;
+ DrumGizmo *drumgizmo;
};
#endif/*__DRUMGIZMO_DRUMGIZMO_VST_H__*/