equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "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 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __CJPTIMER_H__ |
|
21 #define __CJPTIMER_H__ |
|
22 |
|
23 #include <e32base.h> |
|
24 |
|
25 class MTimerCallBack; |
|
26 |
|
27 class CJPTimer : public CTimer |
|
28 { |
|
29 |
|
30 public: |
|
31 |
|
32 static CJPTimer* NewL( MTimerCallBack* aCallBack ); |
|
33 ~CJPTimer(); |
|
34 |
|
35 private: |
|
36 |
|
37 void ConstructL(); |
|
38 CJPTimer( MTimerCallBack* aCallBack ); |
|
39 |
|
40 public: |
|
41 |
|
42 void Call( TInt aWait ); |
|
43 |
|
44 private: // CActive |
|
45 |
|
46 void RunL(); |
|
47 |
|
48 private: |
|
49 |
|
50 MTimerCallBack * iCallBack; |
|
51 bool iCalling; |
|
52 }; |
|
53 #endif |