mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/cgetobject.cpp
changeset 32 edd273b3192a
parent 25 d881023c13eb
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 "cgetobject.h"
    21 #include "cgetobject.h"
       
    22 #include "mmmtpdputility.h"
    22 #include "mmmtpdplogger.h"
    23 #include "mmmtpdplogger.h"
    23 
    24 
    24 // -----------------------------------------------------------------------------
    25 // -----------------------------------------------------------------------------
    25 // Verification data for the GetNumObjects request
    26 // Verification data for the GetNumObjects request
    26 // -----------------------------------------------------------------------------
    27 // -----------------------------------------------------------------------------
    58 // Two-phase construction method
    59 // Two-phase construction method
    59 // -----------------------------------------------------------------------------
    60 // -----------------------------------------------------------------------------
    60 //
    61 //
    61 void CGetObject::ConstructL()
    62 void CGetObject::ConstructL()
    62     {
    63     {
    63     SetPSStatus();
       
    64     }
    64     }
    65 
    65 
    66 // -----------------------------------------------------------------------------
    66 // -----------------------------------------------------------------------------
    67 // CGetObject::~CGetObject
    67 // CGetObject::~CGetObject
    68 // Destructor
    68 // Destructor
    97 // -----------------------------------------------------------------------------
    97 // -----------------------------------------------------------------------------
    98 //
    98 //
    99 void CGetObject::ServiceL()
    99 void CGetObject::ServiceL()
   100     {
   100     {
   101     PRINT( _L( "MM MTP => CGetObject::ServiceL" ) );
   101     PRINT( _L( "MM MTP => CGetObject::ServiceL" ) );
       
   102     
       
   103     MmMtpDpUtility::SetPSStatus(EMtpPSStatusActive);
   102 
   104 
   103     // Get the objectinfo
   105     // Get the objectinfo
   104     TUint32 objectHandle = Request().Uint32( TMTPTypeRequest::ERequestParameter1 );
   106     TUint32 objectHandle = Request().Uint32( TMTPTypeRequest::ERequestParameter1 );
   105     PRINT1( _L( "MM MTP <> CGetObject::ServiceL objectHandle = 0x%x" ), objectHandle );
   107     PRINT1( _L( "MM MTP <> CGetObject::ServiceL objectHandle = 0x%x" ), objectHandle );
   106 
   108