diff -r 6b1d113cdff3 -r 6638e7f4bd8f telephonyprotocols/secondarypdpcontextumtsdriver/inc/tpdpstate.h --- a/telephonyprotocols/secondarypdpcontextumtsdriver/inc/tpdpstate.h Mon May 03 13:37:20 2010 +0300 +++ b/telephonyprotocols/secondarypdpcontextumtsdriver/inc/tpdpstate.h Thu May 06 15:10:38 2010 +0100 @@ -1,68 +1,68 @@ -// 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: -// Base class to the various states required in Spud FSM. Each real state is derived from -// this base class. The bass class is never instanciated but it's base functionality is -// used for default handling in the most part. -// -// - -/** - @file - @internalComponent -*/ - -#ifndef TPDPSTATE_H -#define TPDPSTATE_H - -#include -#include "eteldrivernmspace.h" -#include "reteldriverinput.h" -#include "pdpfsmnmspace.h" - - -class CPdpFsm; -//class REtelDriverInput; -class CPdpFsmFactory; - -// parent class -class TPdpState -{ -public: - TPdpState(); - - // used as a default error handler - virtual TInt Input (CPdpFsm& aFsm, const TInt aOperation, const TInt aParam); - - const TDesC * LogOperation (CPdpFsm& aFsm, TInt aOperation); - -protected: - // access helpers for use in the derived class - void EtelDriverInput (CPdpFsm& aFsm, EtelDriver::TEtelInput aOperation); - void EtelDriverCancel (CPdpFsm& aFsm); - void SpudManNotify (CPdpFsm& aFsm, TInt aNotification, TInt aParam); - -public: -#ifdef _DEBUG - TBuf<100> iName; -#endif - -protected: - CPdpFsmFactory * iPdpFsmFactory; - -private: - -}; - - -#endif // TPDPSTATE_H +// 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: +// Base class to the various states required in Spud FSM. Each real state is derived from +// this base class. The bass class is never instanciated but it's base functionality is +// used for default handling in the most part. +// +// + +/** + @file + @internalComponent +*/ + +#ifndef TPDPSTATE_H +#define TPDPSTATE_H + +#include +#include "eteldrivernmspace.h" +#include "reteldriverinput.h" +#include "pdpfsmnmspace.h" + + +class CPdpFsm; +//class REtelDriverInput; +class CPdpFsmFactory; + +// parent class +class TPdpState +{ +public: + TPdpState(); + + // used as a default error handler + virtual TInt Input (CPdpFsm& aFsm, const TInt aOperation, const TInt aParam); + + const TDesC * LogOperation (CPdpFsm& aFsm, TInt aOperation); + +protected: + // access helpers for use in the derived class + void EtelDriverInput (CPdpFsm& aFsm, EtelDriver::TEtelInput aOperation); + void EtelDriverCancel (CPdpFsm& aFsm); + void SpudManNotify (CPdpFsm& aFsm, TInt aNotification, TInt aParam); + +public: +#ifdef _DEBUG + TBuf<100> iName; +#endif + +protected: + CPdpFsmFactory * iPdpFsmFactory; + +private: + +}; + + +#endif // TPDPSTATE_H