summaryrefslogtreecommitdiff
path: root/src/cachecalc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cachecalc.h')
-rw-r--r--src/cachecalc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cachecalc.h b/src/cachecalc.h
index 9e83b06..289c4ac 100644
--- a/src/cachecalc.h
+++ b/src/cachecalc.h
@@ -3,7 +3,7 @@
3 3
4namespace Bu 4namespace Bu
5{ 5{
6 template<class type> 6 template<class obtype, class keytype>
7 class CacheCalc 7 class CacheCalc
8 { 8 {
9 public: 9 public:
@@ -15,6 +15,10 @@ namespace Bu
15 { 15 {
16 } 16 }
17 17
18 virtual void onLoad( obtype *pSrc, const keytype &key )=0;
19 virtual void onUnload( obtype *pSrc, const keytype &key )=0;
20 virtual void onTick() { };
21
18 private: 22 private:
19 }; 23 };
20}; 24};