equal
deleted
inserted
replaced
24 #include <badesca.h> |
24 #include <badesca.h> |
25 |
25 |
26 #include <thumbnailobjectsource.h> |
26 #include <thumbnailobjectsource.h> |
27 |
27 |
28 class MThumbnailManagerObserver; |
28 class MThumbnailManagerObserver; |
|
29 class MThumbnailManagerRequestObserver; |
29 |
30 |
30 typedef TInt TThumbnailRequestId; |
31 typedef TInt TThumbnailRequestId; |
31 |
32 |
32 typedef TUint32 TThumbnailId; |
33 typedef TUint32 TThumbnailId; |
33 typedef enum |
34 typedef enum |
43 EAudioGridThumbnailSize, |
44 EAudioGridThumbnailSize, |
44 EAudioListThumbnailSize, |
45 EAudioListThumbnailSize, |
45 EAudioFullScreenThumbnailSize, |
46 EAudioFullScreenThumbnailSize, |
46 EGridThumbnailSize, |
47 EGridThumbnailSize, |
47 EListThumbnailSize, |
48 EListThumbnailSize, |
48 EFullScreenThumbnailSize |
49 EFullScreenThumbnailSize, |
|
50 EThumbnailSizeCount //last item, don't remove |
49 } TThumbnailSize; |
51 } TThumbnailSize; |
50 /** |
52 /** |
51 * Thumbnail engine. |
53 * Thumbnail engine. |
52 * |
54 * |
53 * This is the main interface class to thumbnail engine. Thumbnail engine |
55 * This is the main interface class to thumbnail engine. Thumbnail engine |
411 * priority. |
413 * priority. |
412 * @param aNewPriority New priority value |
414 * @param aNewPriority New priority value |
413 * @return Symbian OS error code or KErrNone if change was |
415 * @return Symbian OS error code or KErrNone if change was |
414 * successful. |
416 * successful. |
415 */ |
417 */ |
416 virtual TInt ChangePriority( TThumbnailRequestId aId, TInt aNewPriority ) = |
418 virtual TInt ChangePriority( TThumbnailRequestId aId, TInt aNewPriority ) = 0; |
417 0; |
|
418 |
419 |
419 /** |
420 /** |
420 * Get a list of supported file formats for object files. |
421 * Get a list of supported file formats for object files. |
421 * |
422 * |
422 * The return value is a reference to a list that contains each |
423 * The return value is a reference to a list that contains each |
564 * instances. |
565 * instances. |
565 */ |
566 */ |
566 virtual TThumbnailRequestId RenameThumbnailsL( const TDesC& aCurrentPath, |
567 virtual TThumbnailRequestId RenameThumbnailsL( const TDesC& aCurrentPath, |
567 const TDesC& aNewPath, TInt aPriority = CActive::EPriorityIdle ) = 0; |
568 const TDesC& aNewPath, TInt aPriority = CActive::EPriorityIdle ) = 0; |
568 |
569 |
|
570 /** |
|
571 * Set optional request observer for getting information about completed |
|
572 * requests that don't include a thumbnail. |
|
573 * |
|
574 * @since Symbian^3 |
|
575 * @param aObserver Observer to receive notifications. |
|
576 */ |
|
577 virtual void SetRequestObserver( MThumbnailManagerRequestObserver& aObserver ) = 0; |
|
578 |
|
579 /** |
|
580 * Remove optional request observer. |
|
581 * |
|
582 * @since Symbian^3 |
|
583 */ |
|
584 virtual void RemoveRequestObserver() = 0; |
569 }; |
585 }; |
570 |
586 |
571 #endif // THUMBNAILMANAGER_H |
587 #endif // THUMBNAILMANAGER_H |