72 * Labels for the different details. Needs to be in the same |
73 * Labels for the different details. Needs to be in the same |
73 * order than the VideoDetailLabelKeys. |
74 * order than the VideoDetailLabelKeys. |
74 */ |
75 */ |
75 const char * const VideoDetailLabels[] = { |
76 const char * const VideoDetailLabels[] = { |
76 QT_TR_NOOP("txt_videos_list_drm"), |
77 QT_TR_NOOP("txt_videos_list_drm"), |
77 QT_TR_NOOP("Service:"), //TODO: localisation |
78 QT_TR_NOOP("txt_videos_list_service"), |
78 QT_TR_NOOP("txt_videos_list_description"), |
79 QT_TR_NOOP("txt_videos_list_description"), |
79 QT_TR_NOOP("txt_videos_list_duration"), |
80 QT_TR_NOOP("txt_videos_list_duration"), |
80 QT_TR_NOOP("txt_videos_list_date"), |
81 QT_TR_NOOP("txt_videos_list_date"), |
81 QT_TR_NOOP("txt_videos_list_modified"), |
82 QT_TR_NOOP("txt_videos_list_modified"), |
82 QT_TR_NOOP("txt_videos_list_location"), |
83 QT_TR_NOOP("txt_videos_list_location"), |
83 QT_TR_NOOP("txt_videos_list_author"), |
84 QT_TR_NOOP("txt_videos_list_author"), |
84 QT_TR_NOOP("txt_videos_list_copyright"), |
85 QT_TR_NOOP("txt_videos_list_copyright"), |
85 QT_TR_NOOP("Audio Type:"), //TODO: localisation |
86 QT_TR_NOOP("txt_videos_list_audio_type"), |
86 QT_TR_NOOP("txt_videos_list_language"), |
87 QT_TR_NOOP("txt_videos_list_language"), |
87 QT_TR_NOOP("txt_videos_list_keywords"), |
88 QT_TR_NOOP("txt_videos_list_keywords"), |
88 QT_TR_NOOP("txt_videos_list_file_size"), |
89 QT_TR_NOOP("txt_videos_list_file_size"), |
89 QT_TR_NOOP("txt_videos_list_resolution"), |
90 QT_TR_NOOP("txt_videos_list_resolution"), |
90 QT_TR_NOOP("txt_videos_list_format"), |
91 QT_TR_NOOP("txt_videos_list_format"), |
149 statusRemoveSucceed, |
150 statusRemoveSucceed, |
150 statusVideosAddedToCollection, |
151 statusVideosAddedToCollection, |
151 statusAllVideosAlreadyInCollection, |
152 statusAllVideosAlreadyInCollection, |
152 statusVideosRemovedFromCollection |
153 statusVideosRemovedFromCollection |
153 }; |
154 }; |
154 |
155 |
|
156 enum TModelType |
|
157 { |
|
158 EModelTypeInvalid, |
|
159 EModelTypeAllVideos, |
|
160 EModelTypeCollections, |
|
161 EModelTypeCollectionContent, |
|
162 EModelTypeGeneric |
|
163 }; |
|
164 |
155 /** |
165 /** |
156 * Utility macro to trace heap consumption. |
166 * Utility macro to trace heap consumption. |
157 */ |
167 */ |
158 #ifdef _DEBUG |
168 #ifdef _DEBUG |
159 #define TRACE_HEAP(prefix)\ |
169 #define TRACE_HEAP(prefix)\ |