realtimenetprots/sipfw/SIP/ConnectionMgr/src/TStateInit.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Name        : TStateInit.h
       
    16 * Part of     : NetworkMonitor
       
    17 * See class definition below.
       
    18 * Version     : SIP/4.0
       
    19 *
       
    20 */
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 /**
       
    26  @internalComponent
       
    27 */
       
    28 
       
    29 #ifndef __TSTATEINIT_H__
       
    30 #define __TSTATEINIT_H__
       
    31 
       
    32 // INCLUDES
       
    33 #include "TStateBase.h"
       
    34 
       
    35 // CLASS DEFINITION
       
    36 /**
       
    37  * TStateInit implements the Init state
       
    38  */
       
    39 class TStateInit
       
    40 	: public TStateBase
       
    41 	{
       
    42 	public:	// Constructors and destructor
       
    43 
       
    44 		/**
       
    45 		 * Constructor.
       
    46 		 * @param aOwner State model that owns us.
       
    47 		 * @param aContext Reference to SIP connection context
       
    48 		 */
       
    49 		TStateInit( MStateModel& aOwner,
       
    50 					MSIPConnectionContext& aContext )
       
    51 			: TStateBase( aOwner, aContext ) {};
       
    52 
       
    53 	public: // From TStateBase
       
    54 
       
    55 		void Enter( TInt aError );
       
    56 		void NetworkStateChanged( MSIPNetworkObserver::TNetworkState aState,
       
    57 								  TInt aError );
       
    58 
       
    59 	};
       
    60 
       
    61 #endif // __TSTATEINIT_H__