1 /* |
|
2 * Copyright (c) 2002 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 the License "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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __BROWSERDOWNLOADINDICATORTIMER_H |
|
20 #define __BROWSERDOWNLOADINDICATORTIMER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <eikenv.h> |
|
24 |
|
25 // FORWARD DECLARATIONS |
|
26 class MBrowserDownloadIndicatorTimerEvent; |
|
27 |
|
28 /** |
|
29 * CDownloadIndicator. |
|
30 * @lib Browser.app |
|
31 * @since Series 60 1.2 |
|
32 */ |
|
33 |
|
34 class CBrowserDownloadIndicatorTimer : public CTimer |
|
35 { |
|
36 public: //Constructors and destructor |
|
37 |
|
38 /** |
|
39 * Destructor. |
|
40 */ |
|
41 ~CBrowserDownloadIndicatorTimer(); |
|
42 |
|
43 public: |
|
44 |
|
45 /** |
|
46 * Two-phased constructor. |
|
47 * @param aUi CBrowserDownloadIndicatorTimer (i.e. BrowserAppUi ) pointer |
|
48 */ |
|
49 static CBrowserDownloadIndicatorTimer* NewL( |
|
50 MBrowserDownloadIndicatorTimerEvent& aUi ); |
|
51 |
|
52 /** |
|
53 * Two-phased constructor. Cleanupstack used. |
|
54 * @param aUi CBrowserDownloadIndicatorTimer (i.e. BrowserAppUi ) pointer |
|
55 * @since Series60 1.2 |
|
56 */ |
|
57 static CBrowserDownloadIndicatorTimer* NewLC( |
|
58 MBrowserDownloadIndicatorTimerEvent& aUi ); |
|
59 |
|
60 public: |
|
61 |
|
62 /** |
|
63 * |
|
64 * |
|
65 */ |
|
66 void Start( TTimeIntervalMicroSeconds32 aPeriod ); |
|
67 |
|
68 public: // From CActive |
|
69 |
|
70 void RunL(); |
|
71 |
|
72 private: |
|
73 |
|
74 /** |
|
75 * Default constructor. |
|
76 */ |
|
77 CBrowserDownloadIndicatorTimer(); |
|
78 |
|
79 /** |
|
80 * By default Symbian 2nd phase constructor is private. |
|
81 */ |
|
82 void ConstructL( MBrowserDownloadIndicatorTimerEvent& aUi ); |
|
83 |
|
84 private: //data |
|
85 |
|
86 MBrowserDownloadIndicatorTimerEvent* iProgressIndicator; |
|
87 }; |
|
88 |
|
89 #endif //__BROWSERDOWNLOADINDICATORTIMER_H |
|
90 |
|
91 // End of File |
|