diff -r c84cf270c54f -r 8871b09be73b phoneengine/phonemodel/src/cpemessagehandler.cpp --- a/phoneengine/phonemodel/src/cpemessagehandler.cpp Tue Feb 02 00:10:04 2010 +0200 +++ b/phoneengine/phonemodel/src/cpemessagehandler.cpp Fri Feb 19 22:50:26 2010 +0200 @@ -76,9 +76,9 @@ // None. // CONSTANTS -// Prefix change off. See SettingsInternalCRKeys.h +// Prefix change off. See settingsinternalcrkeys.h const TInt KPEPrefixChangeOff = 0; -// Prefix change on. See SettingsInternalCRKeys.h +// Prefix change on. See settingsinternalcrkeys.h const TInt KPEPrefixChangeOn = 1; // International prefix _LIT( KPEIntPrefix, "+" ); @@ -403,6 +403,19 @@ } // ----------------------------------------------------------------------------- +// CPEMessageHandler::HandleReleaseConference +// Handles release message from phone application +// Method calls HangUp method from the CallHandling subsystem. +// ----------------------------------------------------------------------------- +// +TInt CPEMessageHandler::HandleReleaseConference() + { + + return iCallHandling.ReleaseConference(); + + } + +// ----------------------------------------------------------------------------- // CPEMessageHandler::HandleSendDtmf // Handles send dtmf message from phone application // Method fetches dtmf string from the CPEEngineInfo class and then @@ -2838,26 +2851,6 @@ } // ----------------------------------------------------------------------------- -// CPEMessageHandler::CheckIfPhoneIsLockedL -// ----------------------------------------------------------------------------- -// -void CPEMessageHandler::CheckIfPhoneIsLockedL() - { - // Check if phone is locked - TInt keyLockStatus( EAutolockStatusUninitialized ); - TInt err = RProperty::Get( KPSUidCoreApplicationUIs, KCoreAppUIsAutolockStatus, keyLockStatus ); - const TBool phoneIsLocked = ( keyLockStatus > EAutolockOff ); - - if ( phoneIsLocked && err == KErrNone ) - { - // New call is not possible if device lock is on - TEFLOGSTRING2( KTAERROR, - "PE CPEMessageHandler::CheckIfPhoneIsLockedL, keyLockStatus : %d", keyLockStatus ); - User::Leave( ECCPErrorAuthenticationFailed ); - } - } - -// ----------------------------------------------------------------------------- // CPEMessageHandler::IsActiveVideo // Checks if there are any connected video calls // ----------------------------------------------------------------------------- @@ -2896,7 +2889,7 @@ if ( iDataStore.RemoteColpNumber( aCallId ).Length() ) { - iModel.SendMessage( MEngineMonitor::EPEMessageColpNumberAvailable ); + iModel.SendMessage( MEngineMonitor::EPEMessageColpNumberAvailable, aCallId ); } }