cbsref/telephonyrefplugins/atltsy/integrationtest/inc/testltsygetphonebatteryinfo.h
equal
deleted
inserted
replaced
1 // TestTelephonyGetPhoneBatteryInfo.h |
|
2 // Copyright (c) Symbian Software Ltd 2008. All rights reserved. |
|
3 // |
|
4 // Implementation of the Class CTestTelephonyGetPhoneBatteryInfo |
|
5 |
|
6 |
|
7 #ifndef TESTTELEPHONYGETPHONEBATTERYINFO_H_ |
|
8 #define TESTTELEPHONYGETPHONEBATTERYINFO_H_ |
|
9 |
|
10 //user include |
|
11 #include "TestLtsyPhoneStepBase.h" |
|
12 |
|
13 /** |
|
14 * This class provide the function to get battery info |
|
15 * |
|
16 */ |
|
17 class CTestLtsyGetPhoneBatteryInfo : public CTestLtsyPhoneStepBase |
|
18 /** |
|
19 @internalAll |
|
20 @test |
|
21 */ |
|
22 { |
|
23 public: |
|
24 CTestLtsyGetPhoneBatteryInfo(CTestLtsyModel& aModel); |
|
25 virtual ~CTestLtsyGetPhoneBatteryInfo(); |
|
26 virtual TVerdict doTestStepL(); |
|
27 private: |
|
28 void GetBatteryCaps(); |
|
29 void NotifyBatteryInfoChangeL(); |
|
30 |
|
31 private: |
|
32 RMobilePhone::TMobilePhoneBatteryInfoV1 iBatteryInfo; |
|
33 }; |
|
34 |
|
35 _LIT(KTestLtsyGetPhoneBatteryInfo, "TestLtsyGetPhoneBatteryInfo"); |
|
36 |
|
37 #endif /*TESTTELEPHONYGETPHONEBATTERYINFOSTEP_H_*/ |
|