changeset 20 | a60f8b6b1d32 |
parent 17 | a10844a9914d |
--- a/hgcacheproxymodel/src/hgbuffermanager.cpp Fri Sep 17 15:55:58 2010 +0300 +++ b/hgcacheproxymodel/src/hgbuffermanager.cpp Wed Oct 06 14:53:41 2010 +0300 @@ -317,4 +317,8 @@ } } +bool HgBufferManager::isCached(int idx) const +{ + return ((idx>=mBufferPosition) && (idx<mBufferPosition+mBufferSize)); +} //eof