diff -r 14460bf2a402 -r f50f4094acd7 cbsref/telephonyrefplugins/atltsy/integrationtest/inc/testltsygetphonebatteryinfo.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cbsref/telephonyrefplugins/atltsy/integrationtest/inc/testltsygetphonebatteryinfo.h Tue Jul 06 15:36:38 2010 +0300 @@ -0,0 +1,37 @@ +// TestTelephonyGetPhoneBatteryInfo.h +// Copyright (c) Symbian Software Ltd 2008. All rights reserved. +// +// Implementation of the Class CTestTelephonyGetPhoneBatteryInfo + + +#ifndef TESTTELEPHONYGETPHONEBATTERYINFO_H_ +#define TESTTELEPHONYGETPHONEBATTERYINFO_H_ + +//user include +#include "TestLtsyPhoneStepBase.h" + +/** + * This class provide the function to get battery info + * + */ +class CTestLtsyGetPhoneBatteryInfo : public CTestLtsyPhoneStepBase +/** +@internalAll +@test +*/ +{ +public: + CTestLtsyGetPhoneBatteryInfo(CTestLtsyModel& aModel); + virtual ~CTestLtsyGetPhoneBatteryInfo(); + virtual TVerdict doTestStepL(); +private: + void GetBatteryCaps(); + void NotifyBatteryInfoChangeL(); + +private: + RMobilePhone::TMobilePhoneBatteryInfoV1 iBatteryInfo; +}; + +_LIT(KTestLtsyGetPhoneBatteryInfo, "TestLtsyGetPhoneBatteryInfo"); + +#endif /*TESTTELEPHONYGETPHONEBATTERYINFOSTEP_H_*/