|
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 data class structure for the API* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CIPTVVODCONTENTCONTENTFULLDETAILS_H |
|
21 #define CIPTVVODCONTENTCONTENTFULLDETAILS_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32std.h> |
|
25 #include "CIptvUtil.h" |
|
26 #include "CIptvVodContentContentBriefDetails.h" |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class RWriteStream; |
|
30 class RReadStream; |
|
31 |
|
32 /** |
|
33 * VoD ECG content API |
|
34 * |
|
35 * @lib IptvClientApi.lib |
|
36 * @since Engine 1.0 |
|
37 */ |
|
38 |
|
39 // CLASS DECLARATION |
|
40 class CIptvVodContentContentFullDetails : public CIptvVodContentContentBriefDetails |
|
41 { |
|
42 public: |
|
43 /** |
|
44 * Two-phased constructor. |
|
45 * @param |
|
46 */ |
|
47 IMPORT_C static CIptvVodContentContentFullDetails* NewL(); |
|
48 |
|
49 /** |
|
50 * Externalize. |
|
51 */ |
|
52 IMPORT_C void ExternalizeL(RWriteStream& aStream) const; |
|
53 |
|
54 /** |
|
55 * Internalize. |
|
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 ~CIptvVodContentContentFullDetails(); |
|
68 |
|
69 private: // New functions |
|
70 /** |
|
71 * C++ default constructor. |
|
72 */ |
|
73 CIptvVodContentContentFullDetails(); |
|
74 |
|
75 /** |
|
76 * By default Symbian 2nd phase constructor is private. |
|
77 * @param |
|
78 */ |
|
79 void ConstructL(); |
|
80 |
|
81 public: // Data members |
|
82 |
|
83 // Data members added to Brief details |
|
84 |
|
85 /** |
|
86 * Content description string. |
|
87 */ |
|
88 TBuf<KIptvEpgContentDescriptionMaxLength> iDescription; |
|
89 |
|
90 /** |
|
91 * DRM placeholder. |
|
92 */ |
|
93 TInt iContentProtection; |
|
94 |
|
95 /** |
|
96 * Author. |
|
97 */ |
|
98 TBuf<KIptvEpgContentAuthorLength> iAuthor; |
|
99 |
|
100 /** |
|
101 * Copyright. |
|
102 */ |
|
103 TBuf<KIptvEpgContentCopyrightLength> iCopyright; |
|
104 }; |
|
105 |
|
106 #endif // CIPTVVodContentContentFullDetails.H |