|
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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __TASYNCIPANDPREDECTIVETEXT_H__ |
|
21 #define __TASYNCIPANDPREDECTIVETEXT_H__ |
|
22 |
|
23 #include "watchtimer.h" |
|
24 #include "sysinfoservice.h" |
|
25 |
|
26 class CTestIpAndPredTextNot : public CActive ,public ISystemObserver |
|
27 { |
|
28 public: |
|
29 static CTestIpAndPredTextNot* NewL(CStifLogger* aLog); |
|
30 |
|
31 ~CTestIpAndPredTextNot(); |
|
32 |
|
33 void Start(); |
|
34 |
|
35 TInt Result(); |
|
36 |
|
37 void HandleResponseL(const TDesC& aEntity,const TDesC& aKey, |
|
38 CSysData* aResponse, TInt32 aTransID, |
|
39 TSysRequest::TRequestType aType, |
|
40 TInt aError=KErrNone); |
|
41 |
|
42 void TestSetup(TInt, TInt) ; |
|
43 private: |
|
44 void ConstructL(); |
|
45 |
|
46 CTestIpAndPredTextNot(CStifLogger* aLog); |
|
47 |
|
48 virtual void DoCancel(); |
|
49 |
|
50 virtual void RunL(); |
|
51 |
|
52 void TestFunc(); |
|
53 |
|
54 |
|
55 |
|
56 private: |
|
57 CActiveSchedulerWait* iWaitScheduler; |
|
58 CSysInfoService* iSysInfoService; |
|
59 TInt iResult; |
|
60 TInt iCount ; |
|
61 CStifLogger* iLog; |
|
62 |
|
63 }; |
|
64 |
|
65 |
|
66 #endif __TASYNCIPANDPREDECTIVETEXT_H__ |