From 4bbeb6208ac33f71a09701cc5251f0412977946e Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 10 Nov 2008 23:10:38 +0000 Subject: 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. --- src/cachehandler.h | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'src/cachehandler.h') 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 @@ namespace Bu { - template class CacheHandler { public: - CacheHandler() - { - } - - virtual ~CacheHandler() - { - } - - void forceLoad() - { - } + CacheHandler(); + virtual ~CacheHandler(); + virtual void load()=0; + virtual void unload()=0; private: }; -- cgit v1.2.3