summaryrefslogtreecommitdiff
path: root/include/base.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-14 10:32:32 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-14 10:32:32 +0100
commit4c55148476952276ece19f5b975ca0a0233dee4c (patch)
treef16b9da14403c33f1ca951e16e58841a3d88f091 /include/base.h
parent159781ee8257329ca9c40306f7495a8c2f31f710 (diff)
implemented __destruct magic method
Diffstat (limited to 'include/base.h')
-rw-r--r--include/base.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/base.h b/include/base.h
index 6cf75df..2d5b815 100644
--- a/include/base.h
+++ b/include/base.h
@@ -111,6 +111,11 @@ public:
{
return Value(this)[name];
}
+
+ /**
+ * Overridable method that is called right before an object is destructed
+ */
+ void __destruct() const;
/**
* Overridable method that is called to check if a property is set