|
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: Identifies a download, stream object.* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef TIPTVVODDLDOWNLOADID_H |
|
22 #define TIPTVVODDLDOWNLOADID_H |
|
23 |
|
24 // INCLUDES |
|
25 #include "MIptvStreamObject.h" |
|
26 |
|
27 // CONSTANTS |
|
28 |
|
29 // MACROS |
|
30 |
|
31 // DATA TYPES |
|
32 |
|
33 // FUNCTION PROTOTYPES |
|
34 |
|
35 // FORWARD DECLARATIONS |
|
36 |
|
37 // CLASS DECLARATION |
|
38 |
|
39 /** |
|
40 * Identifies a VOD download. |
|
41 * |
|
42 * @lib IptvClientApi.lib |
|
43 */ |
|
44 class TIptvVodDlDownloadId : public MIptvStreamObject |
|
45 { |
|
46 |
|
47 public: // Functions from base classes |
|
48 |
|
49 /** |
|
50 * From MIptvStreamObject |
|
51 * @param aStream stream to read data from. |
|
52 */ |
|
53 IMPORT_C void InternalizeL(RReadStream& aStream); |
|
54 |
|
55 /** |
|
56 * From MIptvStreamObject |
|
57 * @param aStream stream to write data to. |
|
58 */ |
|
59 IMPORT_C void ExternalizeL(RWriteStream& aStream); |
|
60 |
|
61 /** |
|
62 * From MIptvStreamObject |
|
63 * @return returns the size of externalization. |
|
64 */ |
|
65 IMPORT_C TUint32 CountExternalizeSize(); |
|
66 |
|
67 /** |
|
68 * Copies values from aDownloadId to this object. |
|
69 * @param aDownloadId |
|
70 */ |
|
71 IMPORT_C void Set(TIptvVodDlDownloadId& aDownloadId); |
|
72 |
|
73 public: // Data |
|
74 |
|
75 /** |
|
76 * ETrue if iServiceId and ContentId are valid. |
|
77 */ |
|
78 TBool iServiceIdAndContentIdAreValid; |
|
79 |
|
80 /** |
|
81 * Service ID in Service Manager database. |
|
82 */ |
|
83 TUint32 iServiceId; |
|
84 |
|
85 /** |
|
86 * Content ID in EPG database. |
|
87 */ |
|
88 TUint32 iContentId; |
|
89 |
|
90 /** |
|
91 * ETrue if iFileId and iDriveId are valid. |
|
92 */ |
|
93 TBool iFileIdAndDriveAreValid; |
|
94 |
|
95 /** |
|
96 * Identifies file together with iDriveId in My Videos database. |
|
97 */ |
|
98 TUint32 iFileId; |
|
99 |
|
100 /** |
|
101 * Identifies file together with iFileId in My Videos database. |
|
102 */ |
|
103 TUint32 iDrive; |
|
104 }; |
|
105 |
|
106 #endif // TIPTVVODDLDOWNLOADID_H |
|
107 |
|
108 // End of File |