diff options
Diffstat (limited to '')
-rw-r--r-- | src/cachestore.h | 3 |
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 | |||
4 | namespace Bu | 6 | namespace 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 | }; |