S60 3rd Edition SDK for Symbian OS
Example Applications Guide

SIPExStateRegistered.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : SIPExStateRegistered.h
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 #ifndef __TSIPSTATEREGISTERED_H__
00017 #define __TSIPSTATEREGISTERED_H__
00018 
00019 // INCLUDES
00020 #include    "SIPExState.h"
00021 
00022 // CLASS DECLARATIONS
00023 /**
00024 * The state is valid when the SIP profile
00025 * has enabled and the socket connection is not openned yet.
00026 */
00027 class TSIPExStateRegistered 
00028 :   public TSIPExState
00029     {
00030     public:
00031 
00032         /**
00033         * Constructor
00034         */
00035         TSIPExStateRegistered() : iEnded( EFalse ) {}
00036         
00037         /**
00038         * InviteL
00039         * From TSIPExState
00040         */
00041         virtual void InviteL( CSIPExEngine* aContext, const TDesC& aAddress );
00042 
00043         /**
00044         * SendInstantMsgL
00045         * From TSIPExState
00046         */
00047         virtual void SendInstantMsgL( CSIPExEngine* aContext, 
00048             const TDesC& aAddress, const TDesC& aMsg );
00049 
00050         /**
00051         * SessionEnded
00052         * From TSIPExState
00053         */
00054         virtual void SessionEnded( CSIPExEngine* aContext );
00055         
00056         /**
00057         * InviteReceived
00058         * From TSIPExState
00059         */
00060         virtual void InviteReceived( CSIPExEngine* aContext, const TDesC8& aFrom, const TUint32 aIapId );
00061 
00062         /**
00063         * DisableProfile
00064         * From TSIPExState
00065         */
00066         virtual void DisableProfileL( CSIPExEngine* aContext );
00067 
00068         /**
00069         * SocketState
00070         * From TSIPExState
00071         */
00072         virtual void SocketState( CSIPExEngine* aContext, TInt aNewState );
00073         
00074     public:
00075     
00076         TBool iEnded;
00077     };
00078 
00079 #endif // __TSIPSTATEREGISTERED_H__
00080 
00081 // End of file
00082 

© Nokia 2006

Back to top