diff -r 000000000000 -r 307788aac0a8 realtimenetprots/sipfw/SIP/ConnectionMgr/src/TStateInit.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/realtimenetprots/sipfw/SIP/ConnectionMgr/src/TStateInit.h Tue Feb 02 01:03:15 2010 +0200 @@ -0,0 +1,61 @@ +/* +* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Name : TStateInit.h +* Part of : NetworkMonitor +* See class definition below. +* Version : SIP/4.0 +* +*/ + + + + +/** + @internalComponent +*/ + +#ifndef __TSTATEINIT_H__ +#define __TSTATEINIT_H__ + +// INCLUDES +#include "TStateBase.h" + +// CLASS DEFINITION +/** + * TStateInit implements the Init state + */ +class TStateInit + : public TStateBase + { + public: // Constructors and destructor + + /** + * Constructor. + * @param aOwner State model that owns us. + * @param aContext Reference to SIP connection context + */ + TStateInit( MStateModel& aOwner, + MSIPConnectionContext& aContext ) + : TStateBase( aOwner, aContext ) {}; + + public: // From TStateBase + + void Enter( TInt aError ); + void NetworkStateChanged( MSIPNetworkObserver::TNetworkState aState, + TInt aError ); + + }; + +#endif // __TSTATEINIT_H__