author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 24 Nov 2009 08:56:33 +0200 | |
changeset 33 | 50974a8b132e |
parent 19 | 989d2f495d90 |
permissions | -rw-r--r-- |
19 | 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: tsignalstrengthasyn |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
||
19 |
#ifndef __CTSIGSTRENGTHASYNC_H__ |
|
20 |
#define __CTSIGSTRENGTHASYNC_H__ |
|
21 |
||
33
50974a8b132e
Revision: 200945
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
22 |
#include <liwcommon.h> |
19 | 23 |
|
24 |
#include "watchtimer.h" |
|
25 |
#include "sysinfoservice.h" |
|
26 |
||
27 |
class CSignalStrAsync : public CActive ,public MLiwNotifyCallback, public MTimeOutCallBack |
|
28 |
{ |
|
29 |
public: |
|
30 |
static CSignalStrAsync* NewL(CStifLogger* aLog,TInt Strength); |
|
31 |
~CSignalStrAsync(); |
|
32 |
void Start(); |
|
33 |
TInt Result(); |
|
34 |
||
35 |
TInt HandleNotifyL(TInt aCmdId, |
|
36 |
TInt aEventId, |
|
37 |
CLiwGenericParamList& aEventParamList, |
|
38 |
const CLiwGenericParamList& aInParamList); |
|
39 |
void HandleTimeOut (); |
|
40 |
||
41 |
private: |
|
42 |
void ConstructL(); |
|
43 |
CSignalStrAsync(CStifLogger* aLog,TInt Strength); |
|
44 |
||
45 |
virtual void DoCancel(); |
|
46 |
virtual void RunL(); |
|
47 |
||
48 |
||
49 |
void TestFuncL(); |
|
50 |
||
51 |
private: |
|
52 |
CWatchTimer* iTimer; |
|
53 |
CActiveSchedulerWait* iWaitSchedular; |
|
54 |
CLiwServiceHandler* iServiceHandler; |
|
55 |
MLiwInterface* interface ; |
|
56 |
TInt iSignalStrength ; |
|
57 |
TInt iResult; |
|
58 |
CStifLogger* iLog; |
|
59 |
}; |
|
60 |
||
61 |
#endif __CTSIGSTRENGTHASYNC_H__ |