telephonyserverplugins/multimodetsy/Multimode/gprs/atgprsntwkregstatuschange.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalAll 
       
    19 */
       
    20 
       
    21 #ifndef __ATGPRSNTWKREGSTATUSCHANGE_H
       
    22 #define __ATGPRSNTWKREGSTATUSCHANGE_H
       
    23 
       
    24 #include "ATBASE.H"		// for CATBase
       
    25 
       
    26 
       
    27 
       
    28 class CATGprsNtwkRegStatusChange : public CATBase
       
    29 /**
       
    30 This state machine deals with the unsolicited GPRS network registration status change events.
       
    31 This state machine adds the expect string '+CGREG:*' and then waits for an event.
       
    32 @internalComponent
       
    33 */
       
    34 	{
       
    35 public:		// public methods
       
    36 	static CATGprsNtwkRegStatusChange* NewL(CATIO* aIo, CTelObject* aTelObject, CPhoneGlobals* aGlobals);
       
    37 	~CATGprsNtwkRegStatusChange();
       
    38 
       
    39 	void Enable();
       
    40 	void Disable();
       
    41 
       
    42 private:		// private methods
       
    43 	CATGprsNtwkRegStatusChange(CATIO* aIo, CTelObject* aTelObject, CPhoneGlobals* aGlobals);
       
    44 
       
    45 	// Utility methods
       
    46 	void ParseResponseL(RPacketService::TRegistrationStatus& aRegStatus);
       
    47 
       
    48 	// Pure virtuals from CATBase
       
    49 	virtual void CompleteWithIOError(TEventSource aSource,TInt aStatus);
       
    50 	virtual void EventSignal(TEventSource aSource);
       
    51 	};
       
    52 
       
    53 #endif