aboutsummaryrefslogtreecommitdiff
path: root/layer.h
diff options
context:
space:
mode:
Diffstat (limited to 'layer.h')
-rw-r--r--layer.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/layer.h b/layer.h
index e16ce98..109535a 100644
--- a/layer.h
+++ b/layer.h
@@ -18,6 +18,15 @@ class Layer {
SDL_mutex *mutex;
public:
+ /*
+ * Every derived class must have a static CtorInfo struct "ctor_info"
+ * and a static "ctor_osc" method
+ */
+ struct CtorInfo {
+ const char *name;
+ const char *types;
+ };
+
SLIST_ENTRY(Layer) layers;
char *name;