equal
deleted
inserted
replaced
17 |
17 |
18 |
18 |
19 #ifndef CDELETEOBJECT_H |
19 #ifndef CDELETEOBJECT_H |
20 #define CDELETEOBJECT_H |
20 #define CDELETEOBJECT_H |
21 |
21 |
22 #include <f32file.h> |
|
23 #include <d32dbms.h> |
22 #include <d32dbms.h> |
24 #include <badesca.h> |
|
25 |
23 |
26 #include "crequestprocessor.h" |
24 #include "crequestprocessor.h" |
27 |
25 |
28 //forward declaration |
26 //forward declaration |
29 class RFs; |
|
30 class CMTPTypeArray; |
|
31 class MMTPObjectMgr; |
|
32 class MMmMtpDpConfig; |
27 class MMmMtpDpConfig; |
33 |
28 |
34 /** |
29 /** |
35 * Defines DeleteObject request processor |
30 * Defines DeleteObject request processor |
36 */ |
31 */ |
108 * Deletes an object from the file system and the object store |
103 * Deletes an object from the file system and the object store |
109 */ |
104 */ |
110 void DeleteObjectL( const CMTPObjectMetaData& aObjectInfo ); |
105 void DeleteObjectL( const CMTPObjectMetaData& aObjectInfo ); |
111 |
106 |
112 private: |
107 private: |
113 // MTP Object Manager |
|
114 MMTPObjectMgr& iObjectMgr; |
|
115 |
|
116 // File server used to open the database |
|
117 RFs& iFs; |
|
118 |
|
119 // Array of all the objects to delete |
108 // Array of all the objects to delete |
120 RArray<TUint> iObjectsToDelete; |
109 RArray<TUint> iObjectsToDelete; |
121 |
110 |
122 // Keeps track of any errors that occur |
111 // Keeps track of any errors that occur |
123 TInt iDeleteError; |
112 TInt iDeleteError; |