telephonyserverplugins/attestltsy/integrationtest/inc/testltsygetphonebatteryinfo.h
author Tom Pritchard <tomp@symbian.org>
Tue, 09 Feb 2010 12:31:43 +0000
branchAT_Test_LTSY
changeset 1 4047d69ee0e4
permissions -rw-r--r--
Initial upload of Nokia's AT based test LTSY which uses the dispatcher

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