equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007 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: Timer class for login time |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef HSSLOGINTIMER_H |
|
21 #define HSSLOGINTIMER_H |
|
22 |
|
23 #include <e32base.h> |
|
24 |
|
25 class MHssLoginTimerObserver; |
|
26 |
|
27 /** |
|
28 * Timer for total time used for polling |
|
29 * |
|
30 * @lib ictsclientinterface.lib |
|
31 * @since S60 5.0 |
|
32 */ |
|
33 class CHssLoginTimer : public CTimer |
|
34 { |
|
35 |
|
36 public: |
|
37 |
|
38 /** |
|
39 * Static constructor. |
|
40 */ |
|
41 static CHssLoginTimer* NewL( MHssLoginTimerObserver& aObserver ); |
|
42 |
|
43 /** |
|
44 * Destructor. |
|
45 */ |
|
46 virtual ~CHssLoginTimer(); |
|
47 |
|
48 // from CTimer |
|
49 |
|
50 /** |
|
51 * Timer expired |
|
52 */ |
|
53 void RunL(); |
|
54 |
|
55 private: |
|
56 |
|
57 /** |
|
58 * C++ default constructor. |
|
59 */ |
|
60 CHssLoginTimer( MHssLoginTimerObserver& aObserver ); |
|
61 |
|
62 /** |
|
63 * By default Symbian 2nd phase constructor is private. |
|
64 */ |
|
65 void ConstructL(); |
|
66 |
|
67 private: // data |
|
68 |
|
69 /** |
|
70 * Reference of client using timer |
|
71 * Not own. |
|
72 */ |
|
73 MHssLoginTimerObserver& iObserver; |
|
74 |
|
75 }; |
|
76 |
|
77 #endif // HSSLOGINTIMER_H |