|
1 /* |
|
2 * Copyright (c) 2004-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 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: Defines category data class structure for the API* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CIPTVVODCONTENTCATEGORYBRIEFDETAILS_H |
|
21 #define CIPTVVODCONTENTCATEGORYBRIEFDETAILS_H |
|
22 |
|
23 #include <e32std.h> |
|
24 #include "CIptvUtil.h" |
|
25 |
|
26 class RWriteStream; |
|
27 class RReadStream; |
|
28 |
|
29 /** |
|
30 * VoD ECG content API category info holder. |
|
31 * |
|
32 * @lib IptvClientApi.lib |
|
33 * @since Engine 1.0 |
|
34 */ |
|
35 class CIptvVodContentCategoryBriefDetails : public CBase |
|
36 { |
|
37 |
|
38 public: |
|
39 |
|
40 /** |
|
41 * Two-phased constructor. |
|
42 */ |
|
43 IMPORT_C static CIptvVodContentCategoryBriefDetails* NewL(); |
|
44 |
|
45 /** |
|
46 * Serialize data content to stream. |
|
47 * |
|
48 * @param aStream Write stream object to write data. |
|
49 */ |
|
50 IMPORT_C void ExternalizeL( RWriteStream& aStream ) const; |
|
51 |
|
52 /** |
|
53 * Read serialized data content from stream. |
|
54 * |
|
55 * @param aStream Read stream object to read data. |
|
56 */ |
|
57 IMPORT_C void InternalizeL( RReadStream& aStream ); |
|
58 |
|
59 /** |
|
60 * Count externalized size. |
|
61 */ |
|
62 IMPORT_C TUint32 CountExternalizeSize(); |
|
63 |
|
64 /** |
|
65 * Destructor. |
|
66 */ |
|
67 virtual ~CIptvVodContentCategoryBriefDetails(); |
|
68 |
|
69 protected: |
|
70 |
|
71 /** |
|
72 * C++ default constructor. |
|
73 */ |
|
74 CIptvVodContentCategoryBriefDetails(); |
|
75 |
|
76 public: // Data |
|
77 |
|
78 /** |
|
79 * Category ID identifier. |
|
80 */ |
|
81 TIptvCategoryId iCategoryId; |
|
82 |
|
83 /** |
|
84 * Category name string. |
|
85 */ |
|
86 TBuf<KIptvEpgCategoryNameMaxLength> iName; |
|
87 |
|
88 /** |
|
89 * Indicates when the item was published. In RSS 2.0 specification |
|
90 * <pubDate> |
|
91 */ |
|
92 TTime iPubDate; // Obsolete field |
|
93 |
|
94 /** |
|
95 * Complete thumbnail load path, field is currently obsolete. |
|
96 */ |
|
97 TBuf<KIptvEpgCategoryIconFilePathMaxLength> iThumbnailPath; |
|
98 |
|
99 /** |
|
100 * Clas describes a search category. |
|
101 */ |
|
102 TBool iIsSearchCategory; |
|
103 |
|
104 /** |
|
105 * Content count |
|
106 */ |
|
107 TUint32 iContentCount; |
|
108 }; |
|
109 |
|
110 #endif // CIPTVVODCONTENTCATEGORYBRIEFDETAILS_H |