sipexstateregistered.h

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

H
83
字号
/*
* ==============================================================================
*  Name        : SIPExStateRegistered.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 __TSIPSTATEREGISTERED_H__
#define __TSIPSTATEREGISTERED_H__

// INCLUDES
#include    "SIPExState.h"

// CLASS DECLARATIONS
/**
* The state is valid when the SIP profile
* has enabled and the socket connection is not openned yet.
*/
class TSIPExStateRegistered 
:   public TSIPExState
    {
    public:

        /**
        * Constructor
        */
        TSIPExStateRegistered() : iEnded( EFalse ) {}
        
        /**
        * InviteL
        * From TSIPExState
        */
        virtual void InviteL( CSIPExEngine* aContext, const TDesC& aAddress );

        /**
        * SendInstantMsgL
        * From TSIPExState
        */
        virtual void SendInstantMsgL( CSIPExEngine* aContext, 
            const TDesC& aAddress, const TDesC& aMsg );

        /**
        * SessionEnded
        * From TSIPExState
        */
        virtual void SessionEnded( CSIPExEngine* aContext );
        
        /**
        * InviteReceived
        * From TSIPExState
        */
        virtual void InviteReceived( CSIPExEngine* aContext, const TDesC8& aFrom, const TUint32 aIapId );

        /**
        * DisableProfile
        * From TSIPExState
        */
        virtual void DisableProfileL( CSIPExEngine* aContext );

        /**
        * SocketState
        * From TSIPExState
        */
        virtual void SocketState( CSIPExEngine* aContext, TInt aNewState );
        
    public:
    
        TBool iEnded;
    };

#endif // __TSIPSTATEREGISTERED_H__

// End of file

⌨️ 快捷键说明

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