equal
deleted
inserted
replaced
23 |
23 |
24 #include "crenameobject.h" |
24 #include "crenameobject.h" |
25 #include "mmmtpdplogger.h" |
25 #include "mmmtpdplogger.h" |
26 #include "cmmmtpdpmetadataaccesswrapper.h" |
26 #include "cmmmtpdpmetadataaccesswrapper.h" |
27 #include "crequestprocessor.h" // refer to KMmMtpRArrayGranularity |
27 #include "crequestprocessor.h" // refer to KMmMtpRArrayGranularity |
|
28 #include "mmmtpdputility.h" |
28 |
29 |
29 // ----------------------------------------------------------------------------- |
30 // ----------------------------------------------------------------------------- |
30 // CRenameObject::NewL |
31 // CRenameObject::NewL |
31 // Two phase constructor |
32 // Two phase constructor |
32 // ----------------------------------------------------------------------------- |
33 // ----------------------------------------------------------------------------- |
96 |
97 |
97 iCount = iObjectHandles.Count(); |
98 iCount = iObjectHandles.Count(); |
98 PRINT1( _L( "MM MTP <> CRenameObject::StartL, handle count = %d" ), iCount ); |
99 PRINT1( _L( "MM MTP <> CRenameObject::StartL, handle count = %d" ), iCount ); |
99 if ( iCount > 0 ) |
100 if ( iCount > 0 ) |
100 { |
101 { |
|
102 MmMtpDpUtility::SetPSStatus(EMtpPSStatusActive); |
|
103 |
101 // get the old/new folder full file name |
104 // get the old/new folder full file name |
102 GetParentSuidL( aParentHandle, aOldFolderName ); |
105 GetParentSuidL( aParentHandle, aOldFolderName ); |
103 |
106 |
104 iIndex = 0; |
107 iIndex = 0; |
105 |
108 |
167 } |
170 } |
168 else |
171 else |
169 { |
172 { |
170 if( iRenameWaiter->IsStarted() ) |
173 if( iRenameWaiter->IsStarted() ) |
171 iRenameWaiter->AsyncStop(); |
174 iRenameWaiter->AsyncStop(); |
|
175 |
|
176 MmMtpDpUtility::SetPSStatus(EMtpPSStatusReadyToSync); |
172 } |
177 } |
173 |
178 |
174 PRINT( _L( "MM MTP <= CRenameObject::RunL" ) ); |
179 PRINT( _L( "MM MTP <= CRenameObject::RunL" ) ); |
175 } |
180 } |
176 |
181 |