diff options
Diffstat (limited to 'plugins/Boltun/src/config.h')
-rw-r--r-- | plugins/Boltun/src/config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/Boltun/src/config.h b/plugins/Boltun/src/config.h index a1cd72c7de..3cee967d4f 100644 --- a/plugins/Boltun/src/config.h +++ b/plugins/Boltun/src/config.h @@ -29,12 +29,16 @@ class Property public:
typedef const T(__thiscall BaseClass::*Getter)();
typedef const T(__thiscall BaseClass::*Setter)(const T);
+
private:
const Getter getter;
const Setter setter;
BaseClass* owner;
bool cacheValid;
T cached;
+
+ Property& operator=(const Property&);
+
public:
Property(Getter g, Setter s)
:getter(g), setter(s), cacheValid(false)
@@ -68,12 +72,16 @@ class PtrProperty public:
typedef const T* (__thiscall BaseClass::*Getter)();
typedef const T* (__thiscall BaseClass::*Setter)(const T*);
+
private:
const Getter getter;
const Setter setter;
BaseClass* owner;
bool cacheValid;
const T* cached;
+
+ PtrProperty& operator=(const PtrProperty&);
+
public:
PtrProperty(Getter g, Setter s)
:getter(g), setter(s), cacheValid(false), cached(NULL)
|