equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-2005 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 "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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __CMCETIMER_H |
|
22 #define __CMCETIMER_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32base.h> |
|
26 #include "MTimeOutNotify.h" |
|
27 #include "mcesrv.h" |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Timer class. |
|
33 * |
|
34 * @lib |
|
35 */ |
|
36 class CMceTimer : public CTimer |
|
37 { |
|
38 public: |
|
39 // construct/destruct |
|
40 static CMceTimer* NewL( const TInt aPriority, |
|
41 MTimeOutNotify& aNotify ); |
|
42 ~CMceTimer(); |
|
43 |
|
44 protected: // From CTimer |
|
45 virtual void RunL(); |
|
46 |
|
47 private: |
|
48 // construct/destruct |
|
49 CMceTimer( const TInt aPriority, MTimeOutNotify& aNotify ); |
|
50 void ConstructL(); |
|
51 |
|
52 private: |
|
53 // pointers elsewhere |
|
54 MTimeOutNotify* iNotify; |
|
55 |
|
56 //definitions for unit testing |
|
57 MCESRV_UT_DEFINITIONS |
|
58 |
|
59 }; |
|
60 |
|
61 #endif // __CMCETIMER_H |
|
62 |
|
63 // End of File |