diff -r 8ab6687fb94c -r 3adadc800673 telephonyprotocols/umtsgprsscpr/spudtel/inc/ceteldrivernotifier.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/telephonyprotocols/umtsgprsscpr/spudtel/inc/ceteldrivernotifier.h Fri Jun 11 14:49:29 2010 +0300 @@ -0,0 +1,52 @@ +// 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: +// service change notify +// +// + +/** + @file + @internalComponent +*/ + +#ifndef CETELDRIVERNOTIFIER_H +#define CETELDRIVERNOTIFIER_H + +#include + +class CPdpFsmInterface; + + +/** base notifier class */ +class CEtelDriverNotifier : public CActive + { +public: + CEtelDriverNotifier(CPdpFsmInterface& aPdpFsmInterface); + + /** starts notifications */ + virtual void Start() = 0; + +protected: + /** notifies SPUD FSM about network events */ + virtual void Notify(const TRequestStatus& aStatus) = 0; + + // CActive methods + virtual void RunL(); + +protected: + /** Pdp Fsm Interface for FSM notification */ + CPdpFsmInterface& iPdpFsmInterface; + }; + +#endif // CETELDRIVERNOTIFIER_H