equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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 |
|
22 #ifndef MCETESTUIACTIVITYMANAGER_H |
|
23 #define MCETESTUIACTIVITYMANAGER_H |
|
24 |
|
25 #include <e32base.h> |
|
26 |
|
27 |
|
28 class CMCETestUIActivityManager : public CActive |
|
29 { |
|
30 |
|
31 public: |
|
32 |
|
33 static CMCETestUIActivityManager* NewL( TInt aTimeout = 60 ); |
|
34 |
|
35 ~CMCETestUIActivityManager(); |
|
36 |
|
37 |
|
38 protected: |
|
39 |
|
40 CMCETestUIActivityManager( TInt aTimeout ); |
|
41 |
|
42 void ConstructL(); |
|
43 |
|
44 |
|
45 public: // new functions: |
|
46 |
|
47 void SetTimeout(TInt aTimeout); |
|
48 |
|
49 void Start(); |
|
50 |
|
51 void Reset(); |
|
52 |
|
53 |
|
54 protected: // from CActive |
|
55 |
|
56 void DoCancel(); |
|
57 |
|
58 void RunL(); |
|
59 |
|
60 |
|
61 protected: |
|
62 |
|
63 RTimer iTimer; |
|
64 |
|
65 TInt iTimeout; |
|
66 |
|
67 }; |
|
68 |
|
69 #endif // MCETESTUIACTIVITYMANAGER_H |
|
70 |
|
71 // end of file |