diff -r 6b1d113cdff3 -r 6638e7f4bd8f telephonyprotocols/pdplayer/umts/spudtel/inc/cpdpstatuschangenotifier.h --- a/telephonyprotocols/pdplayer/umts/spudtel/inc/cpdpstatuschangenotifier.h Mon May 03 13:37:20 2010 +0300 +++ b/telephonyprotocols/pdplayer/umts/spudtel/inc/cpdpstatuschangenotifier.h Thu May 06 15:10:38 2010 +0100 @@ -1,83 +1,83 @@ -// 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: -// PDP status change notifier -// -// - -/** - @file - @internalComponent -*/ - -#ifndef CPDPSTATUSCHAGENOTIFIER_H -#define CPDPSTATUSCHAGENOTIFIER_H - -#include -#include - -#include -#include "ceteldrivernotifier.h" - -/** notifier for status of packet context */ -class CPdpStatusChangeNotifier : public CEtelDriverNotifier - { -public: - CPdpStatusChangeNotifier(TContextId aId, RPacketContext& aPacketContext, - CPdpFsmInterface& aPdpFsmInterface); - virtual ~CPdpStatusChangeNotifier(); - - virtual void Start(); - -protected: - virtual void Notify(const TRequestStatus& aStatus); - virtual void DoCancel(); - -private: - /** context id */ - TContextId iId; - /** underlying packet context */ - RPacketContext& iPacketContext; - - /** status of a packet context */ - RPacketContext::TContextStatus iContextStatus; - }; - -/** notifier for status of packet context */ -class CMbmsPdpStatusChangeNotifier : public CEtelDriverNotifier - { -public: - CMbmsPdpStatusChangeNotifier(TContextId aId, RPacketMbmsContext& aMbmsPacketContext, - CPdpFsmInterface& aPdpFsmInterface); - virtual ~CMbmsPdpStatusChangeNotifier(); - - - virtual void Start(); - -protected: - virtual void Notify(const TRequestStatus& aStatus); - virtual void DoCancel(); - -private: - /** context id */ - TContextId iId; - /** underlying mbms packet context */ - RPacketMbmsContext& iMbmsPacketContext; - /** status of a packet context */ - RPacketContext::TContextStatus iContextStatus; - }; - - - - -#endif // CPDPSTATUSCHAGENOTIFIER_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: +// PDP status change notifier +// +// + +/** + @file + @internalComponent +*/ + +#ifndef CPDPSTATUSCHAGENOTIFIER_H +#define CPDPSTATUSCHAGENOTIFIER_H + +#include +#include + +#include +#include "ceteldrivernotifier.h" + +/** notifier for status of packet context */ +class CPdpStatusChangeNotifier : public CEtelDriverNotifier + { +public: + CPdpStatusChangeNotifier(TContextId aId, RPacketContext& aPacketContext, + CPdpFsmInterface& aPdpFsmInterface); + virtual ~CPdpStatusChangeNotifier(); + + virtual void Start(); + +protected: + virtual void Notify(const TRequestStatus& aStatus); + virtual void DoCancel(); + +private: + /** context id */ + TContextId iId; + /** underlying packet context */ + RPacketContext& iPacketContext; + + /** status of a packet context */ + RPacketContext::TContextStatus iContextStatus; + }; + +/** notifier for status of packet context */ +class CMbmsPdpStatusChangeNotifier : public CEtelDriverNotifier + { +public: + CMbmsPdpStatusChangeNotifier(TContextId aId, RPacketMbmsContext& aMbmsPacketContext, + CPdpFsmInterface& aPdpFsmInterface); + virtual ~CMbmsPdpStatusChangeNotifier(); + + + virtual void Start(); + +protected: + virtual void Notify(const TRequestStatus& aStatus); + virtual void DoCancel(); + +private: + /** context id */ + TContextId iId; + /** underlying mbms packet context */ + RPacketMbmsContext& iMbmsPacketContext; + /** status of a packet context */ + RPacketContext::TContextStatus iContextStatus; + }; + + + + +#endif // CPDPSTATUSCHAGENOTIFIER_H