hgcacheproxymodel/tsrc/unit/bmhelper.h
branchGCC_SURGE
changeset 10 c348b9772569
parent 3 c863538fcbb6
--- a/hgcacheproxymodel/tsrc/unit/bmhelper.h	Fri Jun 11 16:25:05 2010 +0100
+++ b/hgcacheproxymodel/tsrc/unit/bmhelper.h	Thu Jul 22 16:36:56 2010 +0100
@@ -13,7 +13,7 @@
 *
 * Description:
 *
-*  Version     : %version: 1 %
+*  Version     : %version: 2 %
 */
 #ifndef BUFFERMANAGERHELPER_H
 #define BUFFERMANAGERHELPER_H
@@ -30,9 +30,12 @@
     virtual void request(int start, int end, HgRequestOrder order = HgRequestOrderAscending);  
 
     bool isIntergal(int bufferSize);
-    void itemCountChanged( int aIndex, bool aRemoved, int aNewTotalCount );
+    int totalSize();
     void resizeCache(int newSize);
 
+    void remove(int pos);
+    void insert(int pos);
+
     
 private:    
     QList< bool > mBuffer;