aboutsummaryrefslogtreecommitdiff
path: root/src/cachehandler.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-11-10 23:10:38 +0000
committerMike Buland <eichlan@xagasoft.com>2008-11-10 23:10:38 +0000
commit4bbeb6208ac33f71a09701cc5251f0412977946e (patch)
tree038a71056f91d7ce3b26f90fde3519d404e7cb63 /src/cachehandler.h
parent61edfe804eb1a1dbf96fcdf2f1b700ed1cfa7ff9 (diff)
downloadlibbu++-4bbeb6208ac33f71a09701cc5251f0412977946e.tar.gz
libbu++-4bbeb6208ac33f71a09701cc5251f0412977946e.tar.bz2
libbu++-4bbeb6208ac33f71a09701cc5251f0412977946e.tar.xz
libbu++-4bbeb6208ac33f71a09701cc5251f0412977946e.zip
Ok, the cache-id officiation is being delegated to the CacheHandlers, this is
just fine, since they can do it any way they want. The Congo CacheHandlers will all have to be specialized versions of the generic ones, but they'll use all the general functionality, just make up IDs differently. It'll rock.
Diffstat (limited to '')
-rw-r--r--src/cachehandler.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/cachehandler.h b/src/cachehandler.h
index 72fb2b2..6ce1471 100644
--- a/src/cachehandler.h
+++ b/src/cachehandler.h
@@ -3,21 +3,13 @@
3 3
4namespace Bu 4namespace Bu
5{ 5{
6 template<class obtype>
7 class CacheHandler 6 class CacheHandler
8 { 7 {
9 public: 8 public:
10 CacheHandler() 9 CacheHandler();
11 { 10 virtual ~CacheHandler();
12 } 11 virtual void load()=0;
13 12 virtual void unload()=0;
14 virtual ~CacheHandler()
15 {
16 }
17
18 void forceLoad()
19 {
20 }
21 13
22 private: 14 private:
23 }; 15 };