equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Tests battery notifications |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __CTSYSCONNECTIVITY_NOT_H__ |
|
20 #define __CTSYSCONNECTIVITY_NOT_H__ |
|
21 |
|
22 |
|
23 #include "sysinfoservice.h" |
|
24 |
|
25 |
|
26 class CConnectivityNot : public CActive ,public ISystemObserver |
|
27 { |
|
28 public: |
|
29 static CConnectivityNot* NewL(CStifLogger* aLog, TInt aCmdId); |
|
30 ~CConnectivityNot(); |
|
31 void Start(); |
|
32 TInt Result(); |
|
33 |
|
34 void HandleResponseL(const TDesC& aEntity,const TDesC& aKey, |
|
35 CSysData* aOutput, TInt32 aTransID,TSysRequest::TRequestType aType, TInt aError); |
|
36 |
|
37 |
|
38 enum TTestId |
|
39 { |
|
40 EWrongKey, |
|
41 }; |
|
42 |
|
43 private: |
|
44 void ConstructL() ; |
|
45 CConnectivityNot(CStifLogger* aLog, TInt aCmdId) ; |
|
46 |
|
47 virtual void DoCancel() ; |
|
48 virtual void RunL(); |
|
49 void TestFuncL() ; |
|
50 void TestFunc1L() ; |
|
51 void TestFunc2L() ; |
|
52 |
|
53 private: |
|
54 CActiveSchedulerWait* iWaitScheduler; |
|
55 CSysInfoService* iSysInfoService; |
|
56 TInt iResult; |
|
57 TInt iError; |
|
58 TInt iCount; |
|
59 TInt iCmdId ; |
|
60 CStifLogger* iLog; |
|
61 }; |
|
62 |
|
63 #endif __CTSYSCONNECTIVITY_NOT_H__ |