equal
deleted
inserted
replaced
22 #define CMTPDELETEOBJECT_H |
22 #define CMTPDELETEOBJECT_H |
23 |
23 |
24 #include <badesca.h> |
24 #include <badesca.h> |
25 #include <f32file.h> |
25 #include <f32file.h> |
26 |
26 |
|
27 #include "rmtpframework.h" |
27 #include "cmtprequestprocessor.h" |
28 #include "cmtprequestprocessor.h" |
28 #include "mtpdebug.h" |
29 #include "mtpdebug.h" |
29 |
30 |
30 class MMTPObjectMgr; |
31 class MMTPObjectMgr; |
31 |
32 |
44 |
45 |
45 TMTPResponseCode CheckRequestL(); |
46 TMTPResponseCode CheckRequestL(); |
46 void ServiceL(); |
47 void ServiceL(); |
47 |
48 |
48 private: |
49 private: |
49 |
50 void ConstructL(); |
50 CMTPDeleteObject(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection); |
51 CMTPDeleteObject(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection); |
51 void ProcessFinalPhaseL(); |
52 void ProcessFinalPhaseL(); |
52 TBool IsFolderObject(const CMTPObjectMetaData& aObject); |
53 TBool IsFolderObject(const CMTPObjectMetaData& aObject); |
53 TBool IsStoreReadOnlyL(TUint32 aObjectHandle); |
54 TBool IsStoreReadOnlyL(TUint32 aObjectHandle); |
54 void DeleteFolderOrFileL(CMTPObjectMetaData* aMeta); |
55 void DeleteFolderOrFileL(CMTPObjectMetaData* aMeta); |
65 /** |
66 /** |
66 True if any deletion succeeded |
67 True if any deletion succeeded |
67 */ |
68 */ |
68 TBool iSuccessDeletion; |
69 TBool iSuccessDeletion; |
69 TBool iObjectWritePotected; |
70 TBool iObjectWritePotected; |
|
71 RMTPFramework iSingletons; |
70 }; |
72 }; |
71 |
73 |
72 #endif |
74 #endif |
73 |
75 |