activityfw/storage/server/inc/afstorage.h
changeset 112 dbfb5e38438b
parent 107 b34d53f6acdf
child 116 305818acdca4
--- a/activityfw/storage/server/inc/afstorage.h	Fri Aug 06 13:40:46 2010 +0300
+++ b/activityfw/storage/server/inc/afstorage.h	Wed Aug 18 10:39:24 2010 +0300
@@ -25,6 +25,8 @@
 #include <s32file.h>    // CFileStore & CPermanentFileStore
 #include "afentry.h"
 
+class CAfDatabaseCleaner;
+
 class CAfStorage : public CBase
     {
 public:
@@ -109,10 +111,15 @@
 
     void InternalizeDataL(CAfEntry &dst, RDbRowSet& src, TInt offset) const;
 
+public:
+    TBool InterruptCleanup();
+    void RequestCleanup();
+
 private:
     RFs& mFsSession;
     RDbStoreDatabase mActDb;/* For database operations                 */
     CFileStore* mFileStore;  /* For creating and opening database files */
+    CAfDatabaseCleaner *mDatabaseCleaner;
 };
 
 #endif //AFSTORAGE_H