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 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef CIPTVEPGMANAGERUPDATER_H |
|
22 #define CIPTVEPGMANAGERUPDATER_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32std.h> |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class MIptvEpgManagerUpdateObserver; |
|
29 |
|
30 // CLASS DECLARATION |
|
31 class CIptvEpgManagerUpdater : public CActive |
|
32 { |
|
33 public: |
|
34 /** |
|
35 * Two-phased constructor. |
|
36 * @param |
|
37 */ |
|
38 IMPORT_C static CIptvEpgManagerUpdater* NewL(MIptvEpgManagerUpdateObserver& aObserver); |
|
39 |
|
40 /** |
|
41 * Destructor. |
|
42 */ |
|
43 virtual ~CIptvEpgManagerUpdater(); |
|
44 |
|
45 public: |
|
46 /** |
|
47 * Start. |
|
48 */ |
|
49 void Start(); |
|
50 |
|
51 /** |
|
52 * Stop. |
|
53 */ |
|
54 void Stop(); |
|
55 |
|
56 /** |
|
57 * Handles an active object’s request completion event. |
|
58 */ |
|
59 void RunL(); |
|
60 |
|
61 /** |
|
62 * Implements cancellation of an outstanding request. |
|
63 */ |
|
64 void DoCancel(); |
|
65 |
|
66 private: // New functions |
|
67 /** |
|
68 * C++ default constructor. |
|
69 */ |
|
70 CIptvEpgManagerUpdater(MIptvEpgManagerUpdateObserver& aObserver); |
|
71 |
|
72 /** |
|
73 * By default Symbian 2nd phase constructor is private. |
|
74 * @param |
|
75 */ |
|
76 void ConstructL(); |
|
77 |
|
78 private: // Data members |
|
79 /** |
|
80 * Reference to MIptvEpgManagerUpdateObserver. |
|
81 */ |
|
82 MIptvEpgManagerUpdateObserver& iObserver; |
|
83 |
|
84 /** |
|
85 * Timer. |
|
86 */ |
|
87 RTimer iTimer; |
|
88 }; |
|
89 |
|
90 #endif // CIPTVEPGMANAGERUPDATER_H |
|
91 |
|
92 // End of File |