telephonyutils/etel3rdpartyapi/ExampleApps/AutoDTMFDialler/CNetworkRegInfo.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2005-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 #ifndef __CNETWORKREGINFO_H__
       
    17 #define __CNETWORKREGINFO_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 #include <e32cons.h>
       
    21 #include <e32def.h>
       
    22 #include <etel3rdparty.h>
       
    23 
       
    24 #include "CISVAPIAsync.h"
       
    25 
       
    26 #include "CMainMenu.h"
       
    27 
       
    28 /**
       
    29 Obtains the current registration status of the phone. Can be notified on change.
       
    30 */
       
    31 class CNetworkRegInfo : public CISVAPIAsync
       
    32 	{
       
    33 	// Methods
       
    34 public:
       
    35 	static CNetworkRegInfo* NewL(MExecAsync* aController);
       
    36 	~CNetworkRegInfo();
       
    37 
       
    38 	void DoStartRequestL();
       
    39 	void DoRequestNotificationL();
       
    40 
       
    41 private:
       
    42 	CNetworkRegInfo(MExecAsync* aController);
       
    43 	void ConstructL();
       
    44 
       
    45 	void RunL();
       
    46 	void DoCancel();
       
    47 
       
    48   	// Data
       
    49 public:
       
    50 	/**
       
    51 	Stores the network registration status retrieved.
       
    52 	*/
       
    53 	CTelephony::TNetworkRegistrationV1 iNetworkRegV1;
       
    54 
       
    55 private:
       
    56 	/**
       
    57 	Package descriptor for iNetworkRegV1.
       
    58 	*/
       
    59 	CTelephony::TNetworkRegistrationV1Pckg iNetworkRegV1Pckg;
       
    60 	};
       
    61 
       
    62 #endif // __CNETWORKREGINFO_H__