applicationmanagement/omascomoadapter/src/omascomoadapter.cpp
branchRCL_3
changeset 70 5d5344402085
parent 58 5b858729772b
equal deleted inserted replaced
65:450d1facd418 70:5d5344402085
  1753         TPtrC8 aclmapping(URISegsUpTo(aURI, 4) );
  1753         TPtrC8 aclmapping(URISegsUpTo(aURI, 4) );
  1754         SetMappingL(aclmapping, aTargetState, aLUID);
  1754         SetMappingL(aclmapping, aTargetState, aLUID);
  1755         iManagement.StateChangeComplete(aLuidi);
  1755         iManagement.StateChangeComplete(aLuidi);
  1756 
  1756 
  1757         DeactivateIfInactive(aLuidi, aTargetState);
  1757         DeactivateIfInactive(aLuidi, aTargetState);
  1758         aRet = EExecSuccess;
  1758         aRet = EOk;
  1759         }
  1759         }
  1760     else
  1760     else
  1761         {
  1761         {
  1762         RDEBUG_2( "CSCOMOAdapter::InstallL(): INSTALL FAILED '%d'" , err);
  1762         RDEBUG_2( "CSCOMOAdapter::InstallL(): INSTALL FAILED '%d'" , err);
  1763         //MAPERROR( err, aRet, _L8("Install %d") );
  1763         MAPERROR( err, aRet, _L8("Install %d") );
  1764 	  aRet = EExecInstallFailed;
       
  1765         }
  1764         }
  1766     }
  1765     }
  1767 
  1766 
  1768 // ------------------------------------------------------------------------------------------------
  1767 // ------------------------------------------------------------------------------------------------
  1769 // CSCOMOAdapter::DefaultMapError( const TInt aErr, TError &aRet )
  1768 // CSCOMOAdapter::DefaultMapError( const TInt aErr, TError &aRet )
  1853 // ------------------------------------------------------------------------------------------------
  1852 // ------------------------------------------------------------------------------------------------
  1854 void CSCOMOAdapter::ExecuteCommandL(const TDesC8& aURI, const TDesC8& aLUID,
  1853 void CSCOMOAdapter::ExecuteCommandL(const TDesC8& aURI, const TDesC8& aLUID,
  1855         const TDesC8& aArgument, const TDesC8& /*aType*/, TInt aStatusRef)
  1854         const TDesC8& aArgument, const TDesC8& /*aType*/, TInt aStatusRef)
  1856     {
  1855     {
  1857 
  1856 
  1858 #ifdef __TARM_SYMBIAN_CONVERGENCY	
  1857 #ifdef __TARM_SYMBIAN_CONVERGENCY	//Done by Dipak
  1859     TPtrC8 uriPtrc = NSmlDmURI::RemoveDotSlash(aURI);
  1858     TPtrC8 uriPtrc = NSmlDmURI::RemoveDotSlash(aURI);
  1860 #else
  1859 #else
  1861     //nothing
  1860     //nothing
  1862 #endif
  1861 #endif
  1863 
  1862