sipexstateregistering.cpp
来自「an example for sip for symbian」· C++ 代码 · 共 47 行
CPP
47 行
/*
* ==============================================================================
* Name : SIPExStateRegistering.cpp
* Part of : SIPExEngine
* Interface :
* Description :
* Version :
*
* Copyright (c) 2004-2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
// INCLUDES
#include "SIPExStateRegistering.h"
#include "SIPExGameEngine.h"
// -----------------------------------------------------------------------------
// TSIPExStateRegistering::ProfileEnabled
// Sets info text to the UI and changes the active state to the Registered.
// -----------------------------------------------------------------------------
//
void TSIPExStateRegistering::ProfileEnabled(
CSIPExEngine* aContext,
TUint32 /*aSIPProfileId*/ )
{
Info( aContext, KProfileEnabled() );
ChangeState( aContext, aContext->iStateRegistered );
}
// -----------------------------------------------------------------------------
// TSIPExStateRegistering::ProfileError
// Sets info text to the UI and changes the active state to the Idle.
// -----------------------------------------------------------------------------
//
void TSIPExStateRegistering::ProfileError(
CSIPExEngine* aContext,
TInt /*aError*/ )
{
Info( aContext, KProfEnabError() );
ChangeState( aContext, aContext->iStateIdle );
}
// End of file
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?