|
1 /* |
|
2 * Copyright (c) 2008 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include <mpxmedia.h> |
|
22 #include <mpxmediaarray.h> |
|
23 #include <mpxlog.h> |
|
24 #include <mpxmediacontainerdefs.h> |
|
25 #include <mpxmediageneraldefs.h> |
|
26 #include <vcxmyvideosdefs.h> |
|
27 #include <mpxmessagecontainerdefs.h> |
|
28 #include <bautils.h> |
|
29 #include <mpxmediavideodefs.h> |
|
30 #ifdef _DEBUG |
|
31 #include <flogger.h> |
|
32 #include <f32file.h> |
|
33 #endif |
|
34 #include "vcxmyvideoscollectionutil.h" |
|
35 |
|
36 // ============================ MEMBER FUNCTIONS ============================== |
|
37 |
|
38 // ---------------------------------------------------------------------------- |
|
39 // CVcxMyVideosCollectionUtil::CreateEmptyMediaListL |
|
40 // ---------------------------------------------------------------------------- |
|
41 // |
|
42 CMPXMedia* TVcxMyVideosCollectionUtil::CreateEmptyMediaListL() |
|
43 { |
|
44 RArray<TInt> supportedIds; |
|
45 CleanupClosePushL( supportedIds ); // 1-> |
|
46 |
|
47 supportedIds.AppendL( KMPXMediaIdContainer ); |
|
48 supportedIds.AppendL( KMPXMediaIdGeneral ); |
|
49 |
|
50 //create container |
|
51 CMPXMedia* container = CMPXMedia::NewL( supportedIds.Array() ); |
|
52 CleanupStack::PushL( container ); // 2-> |
|
53 |
|
54 CMPXMediaArray* mediaArray = CMPXMediaArray::NewL(); |
|
55 CleanupStack::PushL( mediaArray ); // 3-> |
|
56 |
|
57 container->SetCObjectValueL( KMPXMediaArrayContents, mediaArray ); |
|
58 |
|
59 CleanupStack::PopAndDestroy( mediaArray ); // <-3 |
|
60 CleanupStack::Pop( container ); // <-2 |
|
61 CleanupStack::PopAndDestroy( &supportedIds ); // <-1 |
|
62 return container; |
|
63 } |
|
64 |
|
65 // ---------------------------------------------------------------------------- |
|
66 // CVcxMyVideosCollectionUtil::CreateEmptyMessageListL |
|
67 // ---------------------------------------------------------------------------- |
|
68 // |
|
69 CMPXMedia* TVcxMyVideosCollectionUtil::CreateEmptyMessageListL() |
|
70 { |
|
71 RArray<TInt> supportedIds; |
|
72 CleanupClosePushL( supportedIds ); // 1-> |
|
73 |
|
74 supportedIds.AppendL( KMPXMediaIdContainer ); |
|
75 |
|
76 //create container |
|
77 CMPXMedia* container = CMPXMedia::NewL( supportedIds.Array() ); |
|
78 CleanupStack::PushL( container ); // 2-> |
|
79 |
|
80 CMPXMediaArray* messageArray = CMPXMediaArray::NewL(); |
|
81 CleanupStack::PushL( messageArray ); // 3-> |
|
82 |
|
83 container->SetCObjectValueL( KMPXMessageArrayContents, messageArray ); |
|
84 |
|
85 CleanupStack::PopAndDestroy( messageArray ); // <-3 |
|
86 CleanupStack::Pop( container ); // <-2 |
|
87 CleanupStack::PopAndDestroy( &supportedIds ); // <-1 |
|
88 return container; |
|
89 } |
|
90 |
|
91 // --------------------------------------------------------------------------- |
|
92 // TVcxMyVideosCollectionUtil::CopyFromListToListL |
|
93 // --------------------------------------------------------------------------- |
|
94 // |
|
95 void TVcxMyVideosCollectionUtil::CopyFromListToListL( |
|
96 CMPXMedia& aFromList, |
|
97 CMPXMedia& aToList, |
|
98 RArray<TUint32>& aMdsIds ) |
|
99 { |
|
100 MPX_FUNC("TVcxMyVideosCollectionUtil::CopyFromListToListL ()"); |
|
101 |
|
102 if ( !aFromList.IsSupported( KMPXMediaArrayContents ) || |
|
103 !aToList.IsSupported( KMPXMediaArrayContents ) ) |
|
104 { |
|
105 MPX_DEBUG1("TVcxMyVideosCollectionUtil::CopyFromListToListL left, media array(s) missing. "); |
|
106 User::Leave( KErrArgument ); |
|
107 } |
|
108 |
|
109 TInt mdsIdsCount = aMdsIds.Count(); |
|
110 CMPXMediaArray* fromArray = aFromList.Value<CMPXMediaArray>( KMPXMediaArrayContents ); |
|
111 CMPXMediaArray* toArray = aToList.Value<CMPXMediaArray>( KMPXMediaArrayContents ); |
|
112 TInt fromArrayCount = fromArray->Count(); |
|
113 TMPXItemId fromId; |
|
114 TMPXItemId toId; |
|
115 |
|
116 for ( TInt i = 0; i < mdsIdsCount; i++ ) |
|
117 { |
|
118 for ( TInt j = 0; j < fromArrayCount; j++ ) |
|
119 { |
|
120 if ( aMdsIds[i] == |
|
121 fromArray->AtL( j )->ValueTObjectL<TMPXItemId>( KMPXMediaGeneralId ).iId1 ) |
|
122 { |
|
123 toArray->AppendL( *fromArray->AtL( j ) ); |
|
124 MPX_DEBUG3("TVcxMyVideosCollectionUtil:: copying %d (from pointer %x)", aMdsIds[i], fromArray->AtL( j )); |
|
125 break; |
|
126 } |
|
127 } |
|
128 } |
|
129 } |
|
130 |
|
131 // --------------------------------------------------------------------------- |
|
132 // TVcxMyVideosCollectionUtil::CopyFromListToListL |
|
133 // --------------------------------------------------------------------------- |
|
134 // |
|
135 void TVcxMyVideosCollectionUtil::CopyFromListToListL( |
|
136 RArray<CMPXMedia*>& aFromArray, |
|
137 CMPXMedia& aToList, |
|
138 RArray<TUint32>& aMdsIds ) |
|
139 { |
|
140 MPX_FUNC("TVcxMyVideosCollectionUtil::CopyFromListToListL( RArray version )"); |
|
141 |
|
142 if ( !aToList.IsSupported( KMPXMediaArrayContents ) ) |
|
143 { |
|
144 MPX_DEBUG1("TVcxMyVideosCollectionUtil::CopyFromListToListL left, media array missing. "); |
|
145 User::Leave( KErrArgument ); |
|
146 } |
|
147 |
|
148 TInt mdsIdsCount = aMdsIds.Count(); |
|
149 CMPXMediaArray* toArray = aToList.Value<CMPXMediaArray>( KMPXMediaArrayContents ); |
|
150 TInt fromArrayCount = aFromArray.Count(); |
|
151 TMPXItemId fromId; |
|
152 TMPXItemId toId; |
|
153 |
|
154 for ( TInt i = 0; i < mdsIdsCount; i++ ) |
|
155 { |
|
156 for ( TInt j = 0; j < fromArrayCount; j++ ) |
|
157 { |
|
158 if ( aMdsIds[i] == |
|
159 aFromArray[j]->ValueTObjectL<TMPXItemId>( KMPXMediaGeneralId ).iId1 ) |
|
160 { |
|
161 toArray->AppendL( *aFromArray[j] ); |
|
162 MPX_DEBUG3("TVcxMyVideosCollectionUtil:: copying %d (from pointer %x)", aMdsIds[i], aFromArray[j]); |
|
163 break; |
|
164 } |
|
165 } |
|
166 } |
|
167 } |
|
168 |
|
169 // --------------------------------------------------------------------------- |
|
170 // TVcxMyVideosCollectionUtil::AppendToListL |
|
171 // New items in aToList will point to same shared memory as items in aFromList. |
|
172 // --------------------------------------------------------------------------- |
|
173 // |
|
174 void TVcxMyVideosCollectionUtil::AppendToListL( CMPXMedia& aToList, CMPXMedia& aFromList ) |
|
175 { |
|
176 CMPXMedia* media; |
|
177 CMPXMediaArray* toArray = aToList.Value<CMPXMediaArray>( KMPXMediaArrayContents ); |
|
178 CMPXMediaArray* fromArray = aFromList.Value<CMPXMediaArray>( KMPXMediaArrayContents ); |
|
179 TInt count = fromArray->Count(); |
|
180 for ( TInt i = 0; i < count; i++ ) |
|
181 { |
|
182 media = CMPXMedia::NewL( *(fromArray->AtL( i )) ); // points to same shared memory |
|
183 toArray->AppendL( media ); //ownership moves |
|
184 } |
|
185 } |
|
186 |
|
187 // --------------------------------------------------------------------------- |
|
188 // This helper function converts drive letter to drive number |
|
189 // --------------------------------------------------------------------------- |
|
190 // |
|
191 TInt TVcxMyVideosCollectionUtil::DriveLetter2DriveNumber( const TDesC &aDrive ) |
|
192 { |
|
193 TInt retVal = KErrArgument; |
|
194 |
|
195 if (aDrive.Length() > 0) |
|
196 { |
|
197 TChar letter = aDrive[0]; |
|
198 letter.UpperCase(); |
|
199 if (letter >= 'A' && letter <= 'Z') |
|
200 { |
|
201 retVal = (TInt)letter - 'A'; |
|
202 } |
|
203 } |
|
204 |
|
205 return retVal; |
|
206 } |
|
207 |
|
208 // --------------------------------------------------------------------------- |
|
209 // TVcxMyVideosCollectionUtil::MakeUniqueFileNameL |
|
210 // --------------------------------------------------------------------------- |
|
211 // |
|
212 void TVcxMyVideosCollectionUtil::MakeUniqueFileNameL( RFs& aFs, const TDesC& aPath, |
|
213 TDes& aUniquePath ) |
|
214 { |
|
215 const TInt KMaxDigits = 7; |
|
216 TBuf<KMaxDigits> counterDigits; |
|
217 |
|
218 aUniquePath = aPath; |
|
219 TInt counter = 1; |
|
220 //TInt zeros = 0; |
|
221 TInt pos = 0; |
|
222 while( BaflUtils::FileExists( aFs, aUniquePath ) ) |
|
223 { |
|
224 pos = aPath.Locate( '.' ); |
|
225 if ( pos == KErrNotFound ) |
|
226 { |
|
227 aUniquePath = aPath; |
|
228 } |
|
229 else |
|
230 { |
|
231 aUniquePath = aPath.Mid( 0, pos ); |
|
232 } |
|
233 _LIT(KPercentD, "%d"); |
|
234 counterDigits.Format( KPercentD, counter++ ); |
|
235 aUniquePath.Append( '_' ); |
|
236 aUniquePath.Append( '(' ); |
|
237 aUniquePath.AppendJustify( counterDigits, KMaxDigits, TAlign( ERight ), '0' ); |
|
238 aUniquePath.Append( ')' ); |
|
239 if ( pos != KErrNotFound ) |
|
240 { |
|
241 aUniquePath.Append( aPath.Mid( pos ) ); |
|
242 } |
|
243 } |
|
244 } |
|
245 |
|
246 // ---------------------------------------------------------------------------- |
|
247 // TVcxMyVideosCollectionUtil::OriginL |
|
248 // ---------------------------------------------------------------------------- |
|
249 // |
|
250 TUint8 TVcxMyVideosCollectionUtil::OriginL( CMPXMedia& aVideo ) |
|
251 { |
|
252 TUint8 origin = EVcxMyVideosOriginOther; |
|
253 |
|
254 if ( aVideo.IsSupported( KVcxMediaMyVideosOrigin ) ) |
|
255 { |
|
256 origin = aVideo.ValueTObjectL<TUint8>( KVcxMediaMyVideosOrigin ); |
|
257 #ifndef VCX_DOWNLOADS_CATEGORY |
|
258 if ( origin != EVcxMyVideosOriginCapturedWithCamera ) |
|
259 { |
|
260 origin = EVcxMyVideosOriginOther; |
|
261 } |
|
262 #else |
|
263 if ( origin != EVcxMyVideosOriginCapturedWithCamera && |
|
264 origin != EVcxMyVideosOriginDownloaded |
|
265 ) |
|
266 { |
|
267 origin = EVcxMyVideosOriginOther; |
|
268 } |
|
269 #endif |
|
270 } |
|
271 return origin; |
|
272 } |
|
273 |
|
274 // ---------------------------------------------------------------------------- |
|
275 // TVcxMyVideosCollectionUtil::FlagsL |
|
276 // ---------------------------------------------------------------------------- |
|
277 // |
|
278 TUint32 TVcxMyVideosCollectionUtil::FlagsL( CMPXMedia& aVideo ) |
|
279 { |
|
280 TUint32 flags = 0; |
|
281 |
|
282 if ( aVideo.IsSupported( KMPXMediaGeneralFlags ) ) |
|
283 { |
|
284 flags = aVideo.ValueTObjectL<TUint32>( KMPXMediaGeneralFlags ); |
|
285 } |
|
286 return flags; |
|
287 } |
|
288 |
|
289 // ---------------------------------------------------------------------------- |
|
290 // TVcxMyVideosCollectionUtil::CreationDateL |
|
291 // ---------------------------------------------------------------------------- |
|
292 // |
|
293 TInt64 TVcxMyVideosCollectionUtil::CreationDateL( CMPXMedia& aVideo ) |
|
294 { |
|
295 TInt64 creationDate = 0; |
|
296 |
|
297 if ( aVideo.IsSupported( KMPXMediaGeneralDate ) ) |
|
298 { |
|
299 creationDate = aVideo.ValueTObjectL<TInt64>( KMPXMediaGeneralDate ); |
|
300 } |
|
301 return creationDate; |
|
302 } |
|
303 |
|
304 // ---------------------------------------------------------------------------- |
|
305 // TVcxMyVideosCollectionUtil::DownloadIdL |
|
306 // ---------------------------------------------------------------------------- |
|
307 // |
|
308 TUint32 TVcxMyVideosCollectionUtil::DownloadIdL( CMPXMedia& aVideo ) |
|
309 { |
|
310 TUint32 downloadId = 0; |
|
311 |
|
312 if ( aVideo.IsSupported( KVcxMediaMyVideosDownloadId ) ) |
|
313 { |
|
314 downloadId = aVideo.ValueTObjectL<TUint32>( KVcxMediaMyVideosDownloadId ); |
|
315 } |
|
316 return downloadId; |
|
317 } |
|
318 |
|
319 // ---------------------------------------------------------------------------- |
|
320 // TVcxMyVideosCollectionUtil::DownloadStateL |
|
321 // ---------------------------------------------------------------------------- |
|
322 // |
|
323 TVcxMyVideosDownloadState TVcxMyVideosCollectionUtil::DownloadStateL( CMPXMedia& aVideo ) |
|
324 { |
|
325 TVcxMyVideosDownloadState downloadState = EVcxMyVideosDlStateNone; |
|
326 |
|
327 if ( aVideo.IsSupported( KVcxMediaMyVideosDownloadState ) ) |
|
328 { |
|
329 downloadState = static_cast<TVcxMyVideosDownloadState>( |
|
330 aVideo.ValueTObjectL<TUint8>( KVcxMediaMyVideosDownloadState ) ); |
|
331 } |
|
332 return downloadState; |
|
333 } |
|
334 |
|
335 // ---------------------------------------------------------------------------- |
|
336 // TVcxMyVideosCollectionUtil::IdL |
|
337 // ---------------------------------------------------------------------------- |
|
338 // |
|
339 TMPXItemId TVcxMyVideosCollectionUtil::IdL( const CMPXMedia& aVideo ) |
|
340 { |
|
341 TMPXItemId id( 0, 0 ); |
|
342 |
|
343 if ( aVideo.IsSupported( KMPXMediaGeneralId ) ) |
|
344 { |
|
345 id = aVideo.ValueTObjectL<TMPXItemId>( KMPXMediaGeneralId ); |
|
346 } |
|
347 return id; |
|
348 } |
|
349 |
|
350 |
|
351 |
|
352 // ---------------------------------------------------------------------------- |
|
353 // TVcxMyVideosCollectionUtil::DurationL |
|
354 // ---------------------------------------------------------------------------- |
|
355 // |
|
356 TReal32 TVcxMyVideosCollectionUtil::DurationL( CMPXMedia& aVideo ) |
|
357 { |
|
358 TReal32 duration = -1; |
|
359 |
|
360 if ( aVideo.IsSupported( KVcxMediaMyVideosDuration ) ) |
|
361 { |
|
362 duration = aVideo.ValueTObjectL<TReal32>( KVcxMediaMyVideosDuration ); |
|
363 } |
|
364 return duration; |
|
365 } |
|
366 |
|
367 |
|
368 // ---------------------------------------------------------------------------- |
|
369 // TVcxMyVideosCollectionUtil::Title |
|
370 // ---------------------------------------------------------------------------- |
|
371 // |
|
372 const TDesC& TVcxMyVideosCollectionUtil::Title( const CMPXMedia& aVideo ) |
|
373 { |
|
374 if ( aVideo.IsSupported( KMPXMediaGeneralTitle ) ) |
|
375 { |
|
376 return aVideo.ValueText( KMPXMediaGeneralTitle ); |
|
377 } |
|
378 else |
|
379 { |
|
380 return KNullDesC; |
|
381 } |
|
382 } |
|
383 |
|
384 // ---------------------------------------------------------------------------- |
|
385 // TVcxMyVideosCollectionUtil::RatingL |
|
386 // ---------------------------------------------------------------------------- |
|
387 // |
|
388 TUint8 TVcxMyVideosCollectionUtil::RatingL( CMPXMedia& aVideo ) |
|
389 { |
|
390 TUint8 rating = 0; |
|
391 |
|
392 if ( aVideo.IsSupported( KVcxMediaMyVideosRating ) ) |
|
393 { |
|
394 rating = aVideo.ValueTObjectL<TUint8>( KVcxMediaMyVideosRating ); |
|
395 } |
|
396 return rating; |
|
397 } |
|
398 |
|
399 // ---------------------------------------------------------------------------- |
|
400 // TVcxMyVideosCollectionUtil::AudioFourCcL |
|
401 // ---------------------------------------------------------------------------- |
|
402 // |
|
403 TUint32 TVcxMyVideosCollectionUtil::AudioFourCcL( CMPXMedia& aVideo ) |
|
404 { |
|
405 TUint32 audioFourCc = 0; |
|
406 |
|
407 if ( aVideo.IsSupported( KVcxMediaMyVideosAudioFourCc ) ) |
|
408 { |
|
409 audioFourCc = aVideo.ValueTObjectL<TUint32>( KVcxMediaMyVideosAudioFourCc ); |
|
410 } |
|
411 return audioFourCc; |
|
412 } |
|
413 |
|
414 // ---------------------------------------------------------------------------- |
|
415 // TVcxMyVideosCollectionUtil::AreSupported |
|
416 // ---------------------------------------------------------------------------- |
|
417 // |
|
418 TBool TVcxMyVideosCollectionUtil::AreSupported( CMPXMedia& aVideo, |
|
419 const TArray<TMPXAttribute>& aAttrs, |
|
420 TBool& aNonSupportedAttrCanBeFoundFromMds ) |
|
421 { |
|
422 MPX_FUNC("TVcxMyVideosCollectionUtil::AreSupported()"); |
|
423 |
|
424 TBool areSupported( ETrue ); |
|
425 aNonSupportedAttrCanBeFoundFromMds = EFalse; |
|
426 |
|
427 for ( TInt i = 0; i < aAttrs.Count(); i++ ) |
|
428 { |
|
429 if ( !aVideo.IsSupported( aAttrs[i] ) ) |
|
430 { |
|
431 MPX_DEBUG3(" attr (%x)(%x) not supported in media object", aAttrs[i].ContentId(), |
|
432 aAttrs[i].AttributeId() ); |
|
433 |
|
434 areSupported = EFalse; |
|
435 |
|
436 if ( AttrBelongsToFullSet( aAttrs[i] ) ) |
|
437 { |
|
438 MPX_DEBUG1(" attr can be found from mds"); |
|
439 aNonSupportedAttrCanBeFoundFromMds = ETrue; |
|
440 return areSupported; // We can return since areSupported and aNonSupportedAttrCanBeFoundFromMds |
|
441 // won't change anymore, no matter what rest of the attributes are. |
|
442 // Fetching from MDS is justified. |
|
443 } |
|
444 else |
|
445 { |
|
446 MPX_DEBUG1(" attr can NOT be found from mds"); |
|
447 } |
|
448 } |
|
449 } |
|
450 |
|
451 return areSupported; |
|
452 } |
|
453 |
|
454 // ---------------------------------------------------------------------------- |
|
455 // TVcxMyVideosCollectionUtil::AttrBelongsToFullSet |
|
456 // ---------------------------------------------------------------------------- |
|
457 // |
|
458 TBool TVcxMyVideosCollectionUtil::AttrBelongsToFullSet( const TMPXAttribute& aAttr ) |
|
459 { |
|
460 // these attributes are saved to MDS but not to cache. |
|
461 if ( aAttr == KMPXMediaGeneralComment || |
|
462 aAttr == KMPXMediaGeneralCopyright || |
|
463 aAttr == KMPXMediaGeneralMimeType || |
|
464 aAttr == KMPXMediaGeneralLastPlaybackPosition || |
|
465 aAttr == KVcxMediaMyVideosModifiedDate || |
|
466 aAttr == KVcxMediaMyVideosAudioLanguage || |
|
467 aAttr == KVcxMediaMyVideosAuthor || |
|
468 aAttr == KMPXMediaVideoBitRate || |
|
469 aAttr == KMPXMediaVideoHeight || |
|
470 aAttr == KMPXMediaVideoWidth || |
|
471 aAttr == KMPXMediaVideoArtist ) |
|
472 { |
|
473 return ETrue; |
|
474 } |
|
475 return EFalse; |
|
476 } |
|
477 |
|
478 // ---------------------------------------------------------------------------- |
|
479 // TVcxMyVideosCollectionUtil::Origin |
|
480 // ---------------------------------------------------------------------------- |
|
481 // |
|
482 TInt TVcxMyVideosCollectionUtil::Origin( TInt /*aCategoryId*/ ) |
|
483 { |
|
484 return 0; |
|
485 } |
|
486 |
|
487 // ---------------------------------------------------------------------------- |
|
488 // TVcxMyVideosCollectionUtil::MediaArrayL |
|
489 // ---------------------------------------------------------------------------- |
|
490 // |
|
491 CMPXMediaArray* TVcxMyVideosCollectionUtil::MediaArrayL( const CMPXMedia& /*aMedia*/ ) |
|
492 { |
|
493 return NULL; |
|
494 } |
|
495 |
|
496 // ---------------------------------------------------------------------------- |
|
497 // TVcxMyVideosCollectionUtil::Int32ValueL |
|
498 // ---------------------------------------------------------------------------- |
|
499 // |
|
500 TInt32 TVcxMyVideosCollectionUtil::Int32ValueL( CMPXMedia& /*aMedia*/ ) |
|
501 { |
|
502 return 0; |
|
503 } |
|
504 |
|
505 // ---------------------------------------------------------------------------- |
|
506 // TVcxMyVideosCollectionUtil::Uint32ValueL |
|
507 // ---------------------------------------------------------------------------- |
|
508 // |
|
509 TUint32 TVcxMyVideosCollectionUtil::Uint32ValueL( CMPXMedia& /*aMedia*/ ) |
|
510 { |
|
511 return 0; |
|
512 } |
|
513 |
|
514 // ---------------------------------------------------------------------------- |
|
515 // TVcxMyVideosCollectionUtil::CategoryItemCountL |
|
516 // ---------------------------------------------------------------------------- |
|
517 // |
|
518 TUint32 TVcxMyVideosCollectionUtil::CategoryItemCountL( CMPXMedia& /*aVideo*/ ) |
|
519 { |
|
520 return 0; |
|
521 } |
|
522 |
|
523 // ---------------------------------------------------------------------------- |
|
524 // TVcxMyVideosCollectionUtil::CategoryNewItemCountL |
|
525 // ---------------------------------------------------------------------------- |
|
526 // |
|
527 TUint32 TVcxMyVideosCollectionUtil::CategoryNewItemCountL( CMPXMedia& /*aVideo*/ ) |
|
528 { |
|
529 return 0; |
|
530 } |
|
531 |
|
532 // ---------------------------------------------------------------------------- |
|
533 // TVcxMyVideosCollectionUtil::CategoryNewVideoName |
|
534 // ---------------------------------------------------------------------------- |
|
535 // |
|
536 const TDesC& TVcxMyVideosCollectionUtil::CategoryNewVideoName( const CMPXMedia& /*aVideo*/ ) |
|
537 { |
|
538 } |
|
539 |
|
540 // ---------------------------------------------------------------------------- |
|
541 // TVcxMyVideosCollectionUtil::GetIdsFromMediaArrayL |
|
542 // ---------------------------------------------------------------------------- |
|
543 // |
|
544 void TVcxMyVideosCollectionUtil::GetIdsFromMediaArrayL( CMPXMediaArray& /*aMediaArray*/, |
|
545 RArray<TUint32>& /*aIdArray*/ ) |
|
546 { |
|
547 } |
|
548 |
|
549 #ifdef _DEBUG |
|
550 // ---------------------------------------------------------------------------- |
|
551 // TVcxMyVideosCollectionUtil::PrintOpenFileHandlesL |
|
552 // ---------------------------------------------------------------------------- |
|
553 // |
|
554 void TVcxMyVideosCollectionUtil::PrintOpenFileHandlesL( const TDesC& /*aFileName*/, RFs& /*aFs*/ ) |
|
555 { |
|
556 } |
|
557 |
|
558 // ---------------------------------------------------------------------------- |
|
559 // TVcxMyVideosCollectionUtil::GetProcessName |
|
560 // ---------------------------------------------------------------------------- |
|
561 // |
|
562 void TVcxMyVideosCollectionUtil::GetProcessName( TInt /*aThreadId*/, TFullName& /*aProcessName*/ ) |
|
563 { |
|
564 } |
|
565 #endif |
|
566 |
|
567 // End of file |