aboutsummaryrefslogtreecommitdiff
path: root/src/internal/proxy.h
blob: 4029f42f7be0c8fb899fc3b8a3045ea60ce7d3ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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