|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : SIPExStateRegistering.cpp 00004 * Part of : SIPExEngine 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2004-2006 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. 00013 * ============================================================================== 00014 */ 00015 00016 // INCLUDES 00017 #include "SIPExStateRegistering.h" 00018 #include "SIPExGameEngine.h" 00019 00020 // ----------------------------------------------------------------------------- 00021 // TSIPExStateRegistering::ProfileEnabled 00022 // Sets info text to the UI and changes the active state to the Registered. 00023 // ----------------------------------------------------------------------------- 00024 // 00025 void TSIPExStateRegistering::ProfileEnabled( 00026 CSIPExEngine* aContext, 00027 TUint32 /*aSIPProfileId*/ ) 00028 { 00029 Info( aContext, KProfileEnabled() ); 00030 ChangeState( aContext, aContext->iStateRegistered ); 00031 } 00032 00033 // ----------------------------------------------------------------------------- 00034 // TSIPExStateRegistering::ProfileError 00035 // Sets info text to the UI and changes the active state to the Idle. 00036 // ----------------------------------------------------------------------------- 00037 // 00038 void TSIPExStateRegistering::ProfileError( 00039 CSIPExEngine* aContext, 00040 TInt /*aError*/ ) 00041 { 00042 Info( aContext, KProfEnabError() ); 00043 ChangeState( aContext, aContext->iStateIdle ); 00044 } 00045 00046 // End of file
|
© Nokia 2006 |