|
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 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: Contains CIptvVodDlDownloadEvent objects* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef CIPTVVODDLDOWNLOADEVENTS_H |
|
22 #define CIPTVVODDLDOWNLOADEVENTS_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32base.h> |
|
26 #include "CIptvUtil.h" |
|
27 #include "MIptvStreamObject.h" |
|
28 |
|
29 // CONSTANTS |
|
30 |
|
31 // MACROS |
|
32 |
|
33 // DATA TYPES |
|
34 |
|
35 // FUNCTION PROTOTYPES |
|
36 |
|
37 // FORWARD DECLARATIONS |
|
38 class CIptvVodDlDownloadEvent; |
|
39 |
|
40 // CLASS DECLARATION |
|
41 |
|
42 /** |
|
43 * Used for handling groups of CIptvVodDlDownloadEvent objects. |
|
44 * |
|
45 * @lib IptvClientApi.lib |
|
46 */ |
|
47 class CIptvVodDlDownloadEvents : public CBase, public MIptvStreamObject |
|
48 { |
|
49 public: // Constructors and destructor |
|
50 |
|
51 /** |
|
52 * Two-phased constructor. |
|
53 */ |
|
54 IMPORT_C static CIptvVodDlDownloadEvents* NewL(); |
|
55 |
|
56 /** |
|
57 * Destructor. |
|
58 */ |
|
59 IMPORT_C virtual ~CIptvVodDlDownloadEvents(); |
|
60 |
|
61 public: // New functions |
|
62 |
|
63 |
|
64 public: // Functions from base classes |
|
65 |
|
66 IMPORT_C void InternalizeL(RReadStream& aStream); |
|
67 IMPORT_C void ExternalizeL(RWriteStream& aStream); |
|
68 IMPORT_C TUint32 CountExternalizeSize(); |
|
69 IMPORT_C void SetL(CIptvVodDlDownloadEvents& aEvents); |
|
70 IMPORT_C void DeleteEvents(); |
|
71 |
|
72 private: |
|
73 |
|
74 /** |
|
75 * C++ default constructor. |
|
76 */ |
|
77 CIptvVodDlDownloadEvents(); |
|
78 |
|
79 /** |
|
80 * By default Symbian 2nd phase constructor is private. |
|
81 */ |
|
82 void ConstructL(); |
|
83 |
|
84 public: // Data |
|
85 |
|
86 /** |
|
87 * Array of pointers to CIptvVodDlDownloadEvent objects. |
|
88 */ |
|
89 RArray<CIptvVodDlDownloadEvent*> iEvents; |
|
90 |
|
91 }; |
|
92 |
|
93 #endif // CIPTVVODDLDOWNLOADEVENTS_H |
|
94 |
|
95 // End of File |