mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/cgetobjectinfo.cpp
changeset 50 762d760dcfdf
parent 48 b7b49303d0c0
equal deleted inserted replaced
48:b7b49303d0c0 50:762d760dcfdf
    93 // Second-phase construction
    93 // Second-phase construction
    94 // -----------------------------------------------------------------------------
    94 // -----------------------------------------------------------------------------
    95 //
    95 //
    96 EXPORT_C void CGetObjectInfo::ConstructL()
    96 EXPORT_C void CGetObjectInfo::ConstructL()
    97     {
    97     {
    98     CActiveScheduler::Add( this );
       
    99     }
    98     }
   100 
    99 
   101 // -----------------------------------------------------------------------------
   100 // -----------------------------------------------------------------------------
   102 // CGetObjectInfo::ServiceL
   101 // CGetObjectInfo::ServiceL
   103 // GetObjectInfo request handler
   102 // GetObjectInfo request handler
   104 // -----------------------------------------------------------------------------
   103 // -----------------------------------------------------------------------------
   105 //
   104 //
   106 void CGetObjectInfo::ServiceL()
   105 void CGetObjectInfo::ServiceL()
   107     {
   106     {
   108     PRINT( _L( "MM MTP => CGetObjectInfo::ServiceL" ) );
   107     PRINT( _L( "MM MTP => CGetObjectInfo::ServiceL" ) );
   109     
   108 
   110     MmMtpDpUtility::SetPSStatus(EMtpPSStatusActive);
   109     MmMtpDpUtility::SetPSStatus(EMtpPSStatusActive);
   111 
   110 
   112     delete iObjectInfo;
   111     delete iObjectInfo;
   113     iObjectInfo = NULL;
   112     iObjectInfo = NULL;
   114     iObjectInfo = CMTPTypeObjectInfo::NewL();
   113     iObjectInfo = CMTPTypeObjectInfo::NewL();