diff options
Diffstat (limited to 'src/internal/proxy.h')
-rw-r--r-- | src/internal/proxy.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/internal/proxy.h b/src/internal/proxy.h new file mode 100644 index 0000000..4029f42 --- /dev/null +++ b/src/internal/proxy.h @@ -0,0 +1,15 @@ +#ifndef PROXY_H +#define PROXY_H + +template <typename T> +class ClassProxy { + protected: + T* ptr = nullptr; + + public: + T* get() { return this->ptr; }; + + virtual void initialize(void*) = 0; +}; + +#endif
\ No newline at end of file |