equal
deleted
inserted
replaced
22 #include <e32std.h> |
22 #include <e32std.h> |
23 #include <e32base.h> |
23 #include <e32base.h> |
24 #include <d32dbms.h> // RDbStoreDatabase |
24 #include <d32dbms.h> // RDbStoreDatabase |
25 #include <s32file.h> // CFileStore & CPermanentFileStore |
25 #include <s32file.h> // CFileStore & CPermanentFileStore |
26 #include "afentry.h" |
26 #include "afentry.h" |
|
27 |
|
28 class CAfDatabaseCleaner; |
27 |
29 |
28 class CAfStorage : public CBase |
30 class CAfStorage : public CBase |
29 { |
31 { |
30 public: |
32 public: |
31 ~CAfStorage(); |
33 ~CAfStorage(); |
107 |
109 |
108 void ExternalizeDataL(RDbRowSet &dst,const CAfEntry & src, TInt offset) const; |
110 void ExternalizeDataL(RDbRowSet &dst,const CAfEntry & src, TInt offset) const; |
109 |
111 |
110 void InternalizeDataL(CAfEntry &dst, RDbRowSet& src, TInt offset) const; |
112 void InternalizeDataL(CAfEntry &dst, RDbRowSet& src, TInt offset) const; |
111 |
113 |
|
114 public: |
|
115 TBool InterruptCleanup(); |
|
116 void RequestCleanup(); |
|
117 |
112 private: |
118 private: |
113 RFs& mFsSession; |
119 RFs& mFsSession; |
114 RDbStoreDatabase mActDb;/* For database operations */ |
120 RDbStoreDatabase mActDb;/* For database operations */ |
115 CFileStore* mFileStore; /* For creating and opening database files */ |
121 CFileStore* mFileStore; /* For creating and opening database files */ |
|
122 CAfDatabaseCleaner *mDatabaseCleaner; |
116 }; |
123 }; |
117 |
124 |
118 #endif //AFSTORAGE_H |
125 #endif //AFSTORAGE_H |