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 __CBATTERYINFO_H__ 00018 #define __CBATTERYINFO_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 CBatteryInfo : public CISVAPIAsync 00034 { 00035 00036 // Methods 00037 public: 00038 static CBatteryInfo* NewL(MExecAsync* aController); 00039 ~CBatteryInfo(); 00040 00041 void DoStartRequestL(); 00042 void DoRequestNotificationL(); 00043 00044 private: 00045 CBatteryInfo(MExecAsync* aController); 00046 void ConstructL(); 00047 00048 void RunL(); 00049 void DoCancel(); 00050 00051 // Data 00052 public: 00056 CTelephony::TBatteryInfoV1 iBatteryInfoV1; 00057 00058 private: 00062 CTelephony::TBatteryInfoV1Pckg iBatteryInfoV1Pckg; 00063 00064 }; 00065 00066 #endif // __CBATTERYINFO_H__
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.