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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __TASYNCACCSTATUS_H__ |
|
21 #define __TASYNCACCSTATUS_H__ |
|
22 |
|
23 #include "watchtimer.h" |
|
24 #include "sysinfoservice.h" |
|
25 |
|
26 class CAsyncStatus : public CActive ,public ISystemObserver, public MTimeOutCallBack |
|
27 { |
|
28 public: |
|
29 static CAsyncStatus* NewL(CStifLogger* aLog); |
|
30 ~CAsyncStatus(); |
|
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 void HandleTimeOut (); |
|
38 |
|
39 private: |
|
40 void ConstructL(); |
|
41 CAsyncStatus(CStifLogger* aLog); |
|
42 |
|
43 virtual void DoCancel(); |
|
44 virtual void RunL(); |
|
45 |
|
46 |
|
47 void TestFuncL(); |
|
48 |
|
49 private: |
|
50 CWatchTimer* iTimer; |
|
51 CActiveSchedulerWait* iWaitScheduler; |
|
52 CSysInfoService* iSysInfoService; |
|
53 TInt iResult; |
|
54 CStifLogger* iLog; |
|
55 }; |
|
56 |
|
57 #endif __TASYNCACCSTATUS_H__ |