equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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: Editor indicator controller |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CCAEDITINDICATOR_H |
|
20 #define CCAEDITINDICATOR_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32def.h> |
|
24 #include <e32std.h> |
|
25 #include <e32base.h> |
|
26 |
|
27 |
|
28 class CCAMessageEditor; |
|
29 |
|
30 |
|
31 class CCAEditIndicator : public CActive |
|
32 { |
|
33 public: |
|
34 /** |
|
35 * @see CActive |
|
36 */ |
|
37 void RunL(); |
|
38 |
|
39 /** |
|
40 * @see CActive |
|
41 */ |
|
42 void DoCancel(); |
|
43 |
|
44 public: |
|
45 |
|
46 static CCAEditIndicator* NewL( CCAMessageEditor& aEditor ); |
|
47 |
|
48 /** |
|
49 * @return ETrue - if the timer is already active |
|
50 */ |
|
51 TBool IsIndicatorActive(); |
|
52 |
|
53 /** |
|
54 * StartTimer |
|
55 * Initiates and spans the timer |
|
56 */ |
|
57 void StartTimer(); |
|
58 |
|
59 /** |
|
60 * Destructor |
|
61 * |
|
62 */ |
|
63 ~CCAEditIndicator(); |
|
64 |
|
65 /** |
|
66 * Constructor |
|
67 * @param - reference to the editor |
|
68 */ |
|
69 CCAEditIndicator( CCAMessageEditor& aEditor ); |
|
70 |
|
71 private : |
|
72 //doesnt own |
|
73 RTimer iTimer; |
|
74 |
|
75 //doesnt own |
|
76 CCAMessageEditor& iEditor; |
|
77 }; |
|
78 |
|
79 #endif // CCAEDITINDICATOR_H |
|
80 |
|
81 // End of File |