mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/cgetpartialobject.cpp
changeset 32 edd273b3192a
parent 25 d881023c13eb
child 35 2ee890d2f7e7
equal deleted inserted replaced
27:cbb1bfb7ebfb 32:edd273b3192a
    17 
    17 
    18 
    18 
    19 #include <mtp/cmtptypefile.h>
    19 #include <mtp/cmtptypefile.h>
    20 
    20 
    21 #include "cgetpartialobject.h"
    21 #include "cgetpartialobject.h"
       
    22 #include "mmmtpdputility.h"
    22 #include "mmmtpdplogger.h"
    23 #include "mmmtpdplogger.h"
    23 #include "tmmmtpdppanic.h"
    24 #include "tmmmtpdppanic.h"
    24 #include "mmmtpdpconfig.h"
    25 #include "mmmtpdpconfig.h"
    25 
    26 
    26 /**
    27 /**
    78 // Second-phase construction
    79 // Second-phase construction
    79 // -----------------------------------------------------------------------------
    80 // -----------------------------------------------------------------------------
    80 //
    81 //
    81 void CGetPartialObject::ConstructL()
    82 void CGetPartialObject::ConstructL()
    82     {
    83     {
    83     SetPSStatus();
       
    84     }
    84     }
    85 
    85 
    86 // -----------------------------------------------------------------------------
    86 // -----------------------------------------------------------------------------
    87 // CGetPartialObject::CheckRequestL
    87 // CGetPartialObject::CheckRequestL
    88 // Check the GetPartialObject reqeust
    88 // Check the GetPartialObject reqeust
   145 // -----------------------------------------------------------------------------
   145 // -----------------------------------------------------------------------------
   146 //
   146 //
   147 EXPORT_C void CGetPartialObject::ServiceL()
   147 EXPORT_C void CGetPartialObject::ServiceL()
   148     {
   148     {
   149     PRINT( _L( "MM MTP => CGetPartialObject::ServiceL" ) );
   149     PRINT( _L( "MM MTP => CGetPartialObject::ServiceL" ) );
       
   150     
       
   151     MmMtpDpUtility::SetPSStatus(EMtpPSStatusActive);
   150 
   152 
   151     // Get file information
   153     // Get file information
   152     CMTPObjectMetaData* objectInfo = iRequestChecker->GetObjectInfo( iObjectHandle );
   154     CMTPObjectMetaData* objectInfo = iRequestChecker->GetObjectInfo( iObjectHandle );
   153     __ASSERT_DEBUG( objectInfo, Panic( EMmMTPDpObjectNull ) );
   155     __ASSERT_DEBUG( objectInfo, Panic( EMmMTPDpObjectNull ) );
   154 
   156