aboutsummaryrefslogtreecommitdiff
path: root/src/cachestore.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-01-16 04:03:57 +0000
committerMike Buland <eichlan@xagasoft.com>2009-01-16 04:03:57 +0000
commit0a43e790cf9798948ab989abe88f890813c935df (patch)
tree536715caf638e1619f3fc73e8e2f8a5022c1f02b /src/cachestore.h
parent0244488a3a6158659c4fcd1053f15d7f84fc06f8 (diff)
downloadlibbu++-0a43e790cf9798948ab989abe88f890813c935df.tar.gz
libbu++-0a43e790cf9798948ab989abe88f890813c935df.tar.bz2
libbu++-0a43e790cf9798948ab989abe88f890813c935df.tar.xz
libbu++-0a43e790cf9798948ab989abe88f890813c935df.zip
They keys can be accessed now for all stores that support it, they pretty much
all should, but they don't really haaave to.
Diffstat (limited to 'src/cachestore.h')
-rw-r--r--src/cachestore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cachestore.h b/src/cachestore.h
index 5b52359..97f02af 100644
--- a/src/cachestore.h
+++ b/src/cachestore.h
@@ -1,6 +1,8 @@
1#ifndef BU_CACHE_STORE_H 1#ifndef BU_CACHE_STORE_H
2#define BU_CACHE_STORE_H 2#define BU_CACHE_STORE_H
3 3
4#include "bu/list.h"
5
4namespace Bu 6namespace Bu
5{ 7{
6 /** 8 /**
@@ -23,6 +25,7 @@ namespace Bu
23 virtual void unload( obtype *pObj, const keytype &key )=0; 25 virtual void unload( obtype *pObj, const keytype &key )=0;
24 virtual keytype create( obtype *pSrc )=0; 26 virtual keytype create( obtype *pSrc )=0;
25 virtual void destroy( obtype *pObj, const keytype &key )=0; 27 virtual void destroy( obtype *pObj, const keytype &key )=0;
28 virtual Bu::List<keytype> getKeys() { return Bu::List<keytype>(); }
26 29
27 private: 30 private:
28 }; 31 };