telephonyutils/etel3rdpartyapi/ExampleApps/OutgoingCalls/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 
       
    25 #include "CISVAPIAsync.h"
       
    26 
       
    27 #include "CMainMenu.h"
       
    28 
       
    29 /**
       
    30 Obtains the current registration status of the phone. Can be notified on change.
       
    31 */
       
    32 class CNetworkRegInfo : public CISVAPIAsync
       
    33 	{
       
    34 
       
    35 // Methods
       
    36 public:
       
    37 	static CNetworkRegInfo* NewL(MExecAsync* aController);
       
    38 	~CNetworkRegInfo();
       
    39 
       
    40 	void DoStartRequestL();
       
    41 	void DoRequestNotificationL();
       
    42 
       
    43 private:
       
    44 	CNetworkRegInfo(MExecAsync* aController);
       
    45 	void ConstructL();
       
    46 
       
    47 	void RunL();
       
    48 	void DoCancel();
       
    49 
       
    50 // Data
       
    51 public:
       
    52 	/**
       
    53 	Stores retrieved network registration information.
       
    54 	*/
       
    55 	CTelephony::TNetworkRegistrationV1 iNetworkRegV1;
       
    56 
       
    57   	private:
       
    58 	/**
       
    59 	Packages iNetworkRegV1.
       
    60 	*/
       
    61 	CTelephony::TNetworkRegistrationV1Pckg iNetworkRegV1Pckg;
       
    62 
       
    63 	};
       
    64 
       
    65 #endif // __CNETWORKREGINFO_H__