diff options
author | Mike Buland <eichlan@xagasoft.com> | 2009-02-24 00:06:16 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2009-02-24 00:06:16 +0000 |
commit | ef2935347099967cc7092fa7f472d91d51571468 (patch) | |
tree | abf0c041a31610fa7f8fb562c3c36a8277c438d2 /src/cachestore.h | |
parent | 4309066dff46f52690998bbd1f60ec8b1631f142 (diff) | |
download | libbu++-ef2935347099967cc7092fa7f472d91d51571468.tar.gz libbu++-ef2935347099967cc7092fa7f472d91d51571468.tar.bz2 libbu++-ef2935347099967cc7092fa7f472d91d51571468.tar.xz libbu++-ef2935347099967cc7092fa7f472d91d51571468.zip |
Whoa, lots of updates. Md5 is more general, nids, cache, cachestore, and
cachestorenids all support synchronizing now. Url is pretty much done.
Diffstat (limited to 'src/cachestore.h')
-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 97f02af..437b3d3 100644 --- a/src/cachestore.h +++ b/src/cachestore.h | |||
@@ -24,7 +24,10 @@ namespace Bu | |||
24 | virtual obtype *load( const keytype &key )=0; | 24 | virtual obtype *load( const keytype &key )=0; |
25 | virtual void unload( obtype *pObj, const keytype &key )=0; | 25 | virtual void unload( obtype *pObj, const keytype &key )=0; |
26 | virtual keytype create( obtype *pSrc )=0; | 26 | virtual keytype create( obtype *pSrc )=0; |
27 | virtual void sync()=0; | ||
28 | virtual void sync( obtype *pObj, const keytype &key )=0; | ||
27 | virtual void destroy( obtype *pObj, const keytype &key )=0; | 29 | virtual void destroy( obtype *pObj, const keytype &key )=0; |
30 | virtual bool has( const keytype &key )=0; | ||
28 | virtual Bu::List<keytype> getKeys() { return Bu::List<keytype>(); } | 31 | virtual Bu::List<keytype> getKeys() { return Bu::List<keytype>(); } |
29 | 32 | ||
30 | private: | 33 | private: |