176 TLinearOrder< THarvestingHandling > cmp( THarvestingHandling::CompareFunction ); |
176 TLinearOrder< THarvestingHandling > cmp( THarvestingHandling::CompareFunction ); |
177 |
177 |
178 // MPEG4 |
178 // MPEG4 |
179 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
179 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
180 KExtensionMp4(), KNullDesC(), |
180 KExtensionMp4(), KNullDesC(), |
181 TVideoMetadataHandling( TVideoMetadataHandling::EMp4LibHandling, KNullDesC(), |
181 TVideoMetadataHandling( TVideoMetadataHandling::EHexilMetadataHandling, KNullDesC(), |
182 KMimeTypeVideoMp4(), KMimeTypeAudioMp4() ) ), |
182 KMimeTypeVideoMp4(), KMimeTypeAudioMp4() ) ), |
183 cmp ) ); |
183 cmp ) ); |
184 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
184 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
185 KExtensionMpg4(), KNullDesC(), |
185 KExtensionMpg4(), KNullDesC(), |
186 TVideoMetadataHandling( TVideoMetadataHandling::EMp4LibHandling, KNullDesC(), |
186 TVideoMetadataHandling( TVideoMetadataHandling::EHexilMetadataHandling, KNullDesC(), |
187 KMimeTypeVideoMp4(), KMimeTypeAudioMp4() ) ), |
187 KMimeTypeVideoMp4(), KMimeTypeAudioMp4() ) ), |
188 cmp ) ); |
188 cmp ) ); |
189 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
189 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
190 KExtensionMpeg4(), KNullDesC(), |
190 KExtensionMpeg4(), KNullDesC(), |
191 TVideoMetadataHandling( TVideoMetadataHandling::EMp4LibHandling, KNullDesC(), |
191 TVideoMetadataHandling( TVideoMetadataHandling::EHexilMetadataHandling, KNullDesC(), |
192 KMimeTypeVideoMp4(), KMimeTypeAudioMp4() ) ), |
192 KMimeTypeVideoMp4(), KMimeTypeAudioMp4() ) ), |
193 cmp ) ); |
193 cmp ) ); |
194 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
194 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
195 KExtensionM4v(), KMimeTypeVideoMp4(), |
195 KExtensionM4v(), KMimeTypeVideoMp4(), |
196 TVideoMetadataHandling( TVideoMetadataHandling::EMp4LibHandling, KVideo(), |
196 TVideoMetadataHandling( TVideoMetadataHandling::EHexilMetadataHandling, KVideo(), |
197 KMimeTypeVideoMp4(), KMimeTypeAudioMp4() ) ), |
197 KMimeTypeVideoMp4(), KMimeTypeAudioMp4() ) ), |
198 cmp ) ); |
198 cmp ) ); |
199 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
199 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
200 KExtensionM4a(), KMimeTypeAudioMp4(), |
200 KExtensionM4a(), KMimeTypeAudioMp4(), |
201 TVideoMetadataHandling( TVideoMetadataHandling::EMp4LibHandling, KAudio(), |
201 TVideoMetadataHandling( TVideoMetadataHandling::EHexilMetadataHandling, KAudio(), |
202 KMimeTypeVideoMp4(), KMimeTypeAudioMp4() ) ), |
202 KMimeTypeVideoMp4(), KMimeTypeAudioMp4() ) ), |
203 cmp ) ); |
203 cmp ) ); |
204 |
204 |
205 // 3GP |
205 // 3GP |
206 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
206 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
207 KExtension3gp(), KNullDesC(), |
207 KExtension3gp(), KNullDesC(), |
208 TVideoMetadataHandling( TVideoMetadataHandling::EMp4LibHandling, KNullDesC(), |
208 TVideoMetadataHandling( TVideoMetadataHandling::EHexilMetadataHandling, KNullDesC(), |
209 KMimeTypeVideo3gpp(), KMimeTypeAudio3gpp() ) ), |
209 KMimeTypeVideo3gpp(), KMimeTypeAudio3gpp() ) ), |
210 cmp ) ); |
210 cmp ) ); |
211 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
211 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
212 KExtension3gpp(), KNullDesC(), |
212 KExtension3gpp(), KNullDesC(), |
213 TVideoMetadataHandling( TVideoMetadataHandling::EMp4LibHandling, KNullDesC(), |
213 TVideoMetadataHandling( TVideoMetadataHandling::EHexilMetadataHandling, KNullDesC(), |
214 KMimeTypeVideo3gpp(), KMimeTypeAudio3gpp() ) ), |
214 KMimeTypeVideo3gpp(), KMimeTypeAudio3gpp() ) ), |
215 cmp ) ); |
215 cmp ) ); |
216 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
216 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
217 KExtension3g2(), KNullDesC(), |
217 KExtension3g2(), KNullDesC(), |
218 TVideoMetadataHandling( TVideoMetadataHandling::EMp4LibHandling, KNullDesC(), |
218 TVideoMetadataHandling( TVideoMetadataHandling::EHexilMetadataHandling, KNullDesC(), |
219 KMimeTypeVideo3gpp(), KMimeTypeAudio3gpp() ) ), |
219 KMimeTypeVideo3gpp(), KMimeTypeAudio3gpp() ) ), |
220 cmp ) ); |
220 cmp ) ); |
221 |
221 |
222 // RealMedia |
222 // RealMedia |
223 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |
223 User::LeaveIfError( iMimeTypeMappings.InsertInOrder( THarvestingHandling( |