cbsref/telephonyrefplugins/atltsy/integrationtest/inc/testltsygetphonebatteryinfo.h
author hgs
Mon, 09 Aug 2010 17:43:08 +0100
changeset 59 ac20d6a0a19d
parent 44 8b72faa1200f
permissions -rw-r--r--
201029_06

// 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_*/