examples/Telephony/ETel3rdPartyExample/NetworkInformation/CCurrentNetworkInfo.h

00001 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 
00017 #ifndef __CCURRENTNETWORKINFO_H__
00018 #define __CCURRENTNETWORKINFO_H__
00019 
00020 #include <e32base.h>
00021 #include <e32cons.h>
00022 #include <e32def.h>
00023 #include <etel3rdparty.h>
00024 
00025 #include "CISVAPIAsync.h"
00026 
00027 #include "CMainMenu.h"
00028 
00033 class CCurrentNetworkInfo : public CISVAPIAsync
00034         {
00035 
00036 // Methods
00037 public:
00038         static CCurrentNetworkInfo* NewL(MExecAsync* aController);
00039         ~CCurrentNetworkInfo();
00040 
00041         void DoStartRequestL();
00042         void DoRequestNotificationL();
00043 
00044 private:
00045         CCurrentNetworkInfo(MExecAsync* aController);
00046         void ConstructL();
00047 
00048         void RunL();
00049         void DoCancel();
00050 
00051 // Data
00052 public:
00056         CTelephony::TNetworkInfoV1 iCurrentNetworkInfoV1;
00057 
00058 private:
00062         CTelephony::TNetworkInfoV1Pckg iCurrentNetworkInfoV1Pckg;
00063 
00064         };
00065 
00066 #endif // __CCURRENTNETWORKINFO_H__
00067 

Generated by  doxygen 1.6.2