aboutsummaryrefslogtreecommitdiffstats
path: root/lvz/AEffEditor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lvz/AEffEditor.hpp')
-rw-r--r--lvz/AEffEditor.hpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/lvz/AEffEditor.hpp b/lvz/AEffEditor.hpp
new file mode 100644
index 0000000..2d5152c
--- /dev/null
+++ b/lvz/AEffEditor.hpp
@@ -0,0 +1,30 @@
+#ifndef __LVZ_AUDIOEFFECT_HPP
+#define __LVZ_AUDIOEFFECT_HPP
+
+class AudioEffect;
+
+class AEffEditor {
+public:
+ AEffEditor (AudioEffect* eff)
+ : effect(eff)
+ , URI("NULL")
+ , pluginURI("NULL")
+ {}
+
+ virtual bool open(void* ptr) { return true; }
+
+ virtual void idle() {}
+
+ virtual const char* getURI() { return URI; }
+ virtual void setURI(const char* u) { URI = u; }
+
+ virtual const char* getPluginURI() { return pluginURI; }
+ virtual void setPluginURI(const char* u) { pluginURI = u; }
+
+protected:
+ AudioEffect* effect;
+ const char* URI;
+ const char* pluginURI;
+};
+
+#endif // __LVZ_AUDIOEFFECT_HPP