sipexgameobserver.h

来自「an example for sip for symbian」· C头文件 代码 · 共 57 行

H
57
字号
/*
* ==============================================================================
*  Name        : MSIPExGameObserver.h
*  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.
* ==============================================================================
*/

#ifndef MSIPEXGAMEOBSERVER_H
#define MSIPEXGAMEOBSERVER_H

// INCLUDES
#include    "SIPExGameEngine.h"

// CLASS DECLARATIONS
/**
* Class for observing the game events.
*/
class MSIPExGameObserver 
	{
    public:
        /**
		* GameStateChanged
        * Called when the active state of the game is changed.
        * @param aNewState A new state of the game engine.
		*/
        virtual void GameStateChanged( CSIPExEngine::TEngineState aNewState ) = 0;

        /**
		* AcceptInvitationL
        * Called when the invitation has arrived from SIP engine.
        * @param aFrom The address of the summoner.
        * @return ETrue if the user accepts the invitation, else EFalse.
		*/
        virtual TBool AcceptInvitationL( const TDesC& aFrom ) = 0;

        /**
		* IMReceived
        * Called when the instant message has arrived from the SIP engine.
        * @param aFrom The address of the sender.
        * @param aMsg The message.
		*/
        virtual void  IMReceivedL( const TDesC8& aFrom, const TDesC8& aMsg ) = 0;
	};

#endif // MSIPEXGAMEOBSERVER_H

// End of file

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?