equal
deleted
inserted
replaced
|
1 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __IRWATCHER_H__ |
|
17 #define __IRWATCHER_H__ |
|
18 |
|
19 #include <e32base.h> |
|
20 |
|
21 |
|
22 //********************************** |
|
23 // CIrWatcher |
|
24 //********************************** |
|
25 |
|
26 class CWatcherLog; |
|
27 |
|
28 class CIrWatcher : public CActive |
|
29 { |
|
30 public: |
|
31 static CIrWatcher* NewL(TAny* aWatcherParams); |
|
32 ~CIrWatcher(); |
|
33 // |
|
34 private: |
|
35 CIrWatcher(TInt aPriority, CWatcherLog& aLog); |
|
36 void ConstructL(); |
|
37 // |
|
38 void RunL(); |
|
39 void DoCancel(); |
|
40 // |
|
41 void DisplayState(TInt aState); |
|
42 // |
|
43 private: |
|
44 CWatcherLog& iLog; |
|
45 RProperty iProperty; |
|
46 }; |
|
47 |
|
48 #endif |