diff -r 6c59112cfd31 -r 38bf5461e270 ipsservices/ipssosaoplugin/src/IpsSosAOBaseAgent.cpp --- a/ipsservices/ipssosaoplugin/src/IpsSosAOBaseAgent.cpp Thu Sep 30 11:43:07 2010 +0300 +++ b/ipsservices/ipssosaoplugin/src/IpsSosAOBaseAgent.cpp Thu Oct 14 17:33:43 2010 +0300 @@ -32,19 +32,19 @@ aSession.GetEntry( aServiceId, service, tentry ); CIpsSosAOBaseAgent* self = NULL; - if ( tentry.iMtm.iUid == KSenduiMtmImap4UidValue ) + if ( tentry.iMtm == KUidMsgTypeIMAP4 ) { CIpsSosAOImapAgent* imap = CIpsSosAOImapAgent::NewL( aSession, aOpResponse, aServiceId ); self = static_cast(imap); - self->iMtmType = KSenduiMtmImap4Uid; + self->iMtmType = KUidMsgTypeIMAP4; } - else if ( tentry.iMtm.iUid == KSenduiMtmPop3UidValue ) + else if ( tentry.iMtm == KUidMsgTypePOP3 ) { CIpsSosAOPopAgent* pop = CIpsSosAOPopAgent::NewL( aSession, aOpResponse, aServiceId ); self = static_cast(pop); - self->iMtmType = KSenduiMtmPop3Uid; + self->iMtmType = KUidMsgTypePOP3; } else { @@ -136,7 +136,7 @@ TBool CIpsSosAOBaseAgent::IsTypeImap4() const { FUNC_LOG; - if ( iMtmType.iUid == KSenduiMtmImap4UidValue ) + if ( iMtmType == KUidMsgTypeIMAP4 ) { return ETrue; } @@ -149,11 +149,11 @@ { FUNC_LOG; TInt pluginId = 0; - if ( iMtmType.iUid == KSenduiMtmImap4UidValue ) + if ( iMtmType == KUidMsgTypeIMAP4 ) { pluginId = IPSSOSIMAP4PLUGIN_IMPLEMENTATION_UID; } - else if ( iMtmType.iUid == KSenduiMtmPop3UidValue ) + else if ( iMtmType == KUidMsgTypePOP3 ) { pluginId = IPSSOSPOP3PLUGIN_IMPLEMENTATION_UID; }