diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-05-10 03:31:08 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-05-10 03:31:08 +0000 |
commit | 8baf7e1e75a185c742dc6d5b27e50058635e5522 (patch) | |
tree | 76ccf80b005c85df2d887ccda73679cae8d28a26 /src/cache.h | |
parent | 51c5bfa4881b5def142092e10dd402fd40e2e712 (diff) | |
download | libbu++-8baf7e1e75a185c742dc6d5b27e50058635e5522.tar.gz libbu++-8baf7e1e75a185c742dc6d5b27e50058635e5522.tar.bz2 libbu++-8baf7e1e75a185c742dc6d5b27e50058635e5522.tar.xz libbu++-8baf7e1e75a185c742dc6d5b27e50058635e5522.zip |
Added the new QueueBuf. It's brilliant, and I've wanted it for a long time.
...I mean brilliant as in cool.
Diffstat (limited to 'src/cache.h')
-rw-r--r-- | src/cache.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cache.h b/src/cache.h index dc5ab39..7b55b80 100644 --- a/src/cache.h +++ b/src/cache.h | |||
@@ -112,6 +112,11 @@ namespace Bu | |||
112 | return pData != NULL; | 112 | return pData != NULL; |
113 | } | 113 | } |
114 | 114 | ||
115 | bool isSet() const | ||
116 | { | ||
117 | return pCache != NULL; | ||
118 | } | ||
119 | |||
115 | const keytype &getKey() const | 120 | const keytype &getKey() const |
116 | { | 121 | { |
117 | return kId; | 122 | return kId; |