cbsref/telephonyrefplugins/atltsy/integrationtest/inc/testltsygetphonebatteryinfo.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 16:23:08 +0300
branchRCL_3
changeset 65 630d2f34d719
permissions -rw-r--r--
Revision: 201035 Kit: 201035

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