equal
deleted
inserted
replaced
261 * Get one video item from MDS and create a new media |
261 * Get one video item from MDS and create a new media |
262 * object from it. |
262 * object from it. |
263 * |
263 * |
264 * @param aId Video identifier in MDS database. |
264 * @param aId Video identifier in MDS database. |
265 * @param aFullDetails If ETrue, then all details are fetched, othewise only subset. |
265 * @param aFullDetails If ETrue, then all details are fetched, othewise only subset. |
266 * @return Pointer to media object, ownership moves. |
266 * @return Pointer to media object, ownership moves. NULL if |
|
267 * not found. |
267 */ |
268 */ |
268 CMPXMedia* CreateVideoL( TUint32 aId, TBool aFullDetails = ETrue ); |
269 CMPXMedia* CreateVideoL( TUint32 aId, TBool aFullDetails = ETrue ); |
269 |
270 |
270 // from MMdESessionObserver |
271 // from MMdESessionObserver |
271 |
272 |
344 void ConstructL(); |
345 void ConstructL(); |
345 |
346 |
346 /** |
347 /** |
347 * Gets object from MDS. |
348 * Gets object from MDS. |
348 * |
349 * |
349 * @param aId The ID of the object to get. |
350 * @param aId The ID of the object to get. |
350 * @return The object if found, NULL otherwise. |
351 * @param aIsVideo Set to ETrue if the object to be fetched is video. If set to |
351 */ |
352 * EFalse, then the object is assumed to be album. |
352 CMdEObject* ObjectL( const TItemId aId ); |
353 * @return The object if found, NULL otherwise. |
|
354 */ |
|
355 CMdEObject* ObjectL( const TItemId aId, TBool aIsVideo = ETrue ); |
353 |
356 |
354 /** |
357 /** |
355 * Read the video details from the given object to the media class. |
358 * Read the video details from the given object to the media class. |
356 * |
359 * |
357 * @param aObject The object to read from. |
360 * @param aObject The object to read from. |
431 * |
434 * |
432 * @param aObject Object to modify. |
435 * @param aObject Object to modify. |
433 */ |
436 */ |
434 void SetCreationAndModifiedDatesL( CMdEObject& aObject ); |
437 void SetCreationAndModifiedDatesL( CMdEObject& aObject ); |
435 |
438 |
|
439 /** |
|
440 * Sets creation date to aObject from aVideo. |
|
441 * |
|
442 * @param aVideo Creation date is copied from here. |
|
443 * @param aObject Creation date is written here. |
|
444 */ |
|
445 void SetCreationDateToObjectL( const CMPXMedia& aVideo, CMdEObject& aObject ); |
436 public: |
446 public: |
437 |
447 |
438 /** |
448 /** |
439 * Set to ETrue when starting to fetch media list from MDS. |
449 * Set to ETrue when starting to fetch media list from MDS. |
440 * Set to EFalse when fetching is finished. |
450 * Set to EFalse when fetching is finished. |
577 /** |
587 /** |
578 * 16. |
588 * 16. |
579 * The Last Play Point property definition. Not own. |
589 * The Last Play Point property definition. Not own. |
580 */ |
590 */ |
581 CMdEPropertyDef* iLastPlayPositionPropertyDef; |
591 CMdEPropertyDef* iLastPlayPositionPropertyDef; |
582 |
|
583 #if 0 |
|
584 /** |
|
585 * 17. |
|
586 * The Download ID property definition. Not own. |
|
587 */ |
|
588 CMdEPropertyDef* iDownloadIdPropertyDef; |
|
589 #endif |
|
590 |
592 |
591 /** |
593 /** |
592 * 18. |
594 * 18. |
593 * Rating property definition, not own. |
595 * Rating property definition, not own. |
594 */ |
596 */ |