realtimenetprots/sipfw/SampleApp/gameengine/Inc/SIPExStateIdle.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 
       
     2 /*
       
     3 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 * All rights reserved.
       
     5 * This component and the accompanying materials are made available
       
     6 * under the terms of "Eclipse Public License v1.0"
       
     7 * which accompanies this distribution, and is available
       
     8 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 *
       
    10 * Initial Contributors:
       
    11 * Nokia Corporation - initial contribution.
       
    12 *
       
    13 * Contributors:
       
    14 *
       
    15 * Description:
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __TSIPSTATEIDLE_H__
       
    22 #define __TSIPSTATEIDLE_H__
       
    23 
       
    24 // INCLUDES
       
    25 #include    "SIPExState.h"
       
    26 
       
    27 // CLASS DECLARATIONS
       
    28 /**
       
    29 * The state is valid when the profile haven't 
       
    30 * been enabled yet.
       
    31 */
       
    32 class TSIPExStateIdle 
       
    33 :   public TSIPExState
       
    34     {
       
    35     public: // From base class
       
    36 
       
    37         /**
       
    38         * Constructor
       
    39         */
       
    40         TSIPExStateIdle() : iEnded( EFalse ) {}
       
    41         
       
    42         /**
       
    43         * EnableProfile
       
    44         * From TSIPExState
       
    45         */
       
    46         virtual void EnableProfileL( CSIPExEngine* aContext );
       
    47 
       
    48         /**
       
    49         * SessionEnded
       
    50         * From TSIPExState
       
    51         */
       
    52         virtual void SessionEnded( CSIPExEngine* aContext );
       
    53 
       
    54         /**
       
    55         * InviteReceived
       
    56         * From TSIPExState
       
    57         */
       
    58         virtual void InviteReceived( CSIPExEngine* aContext, 
       
    59                                      const TDesC8& aFrom,
       
    60                                      const TUint32 aIapId );
       
    61                                      
       
    62     public:
       
    63     
       
    64         TBool iEnded;
       
    65         
       
    66     };
       
    67 
       
    68 #endif // __TSIPSTATEIDLE_H__
       
    69 
       
    70 // End of file