diff -r ffb2d5dd62e9 -r ad31f4183ddc imagehandling_plat/thumbnailmanager_api/inc/thumbnailmanagerobserver.h --- a/imagehandling_plat/thumbnailmanager_api/inc/thumbnailmanagerobserver.h Tue May 11 16:30:11 2010 +0300 +++ b/imagehandling_plat/thumbnailmanager_api/inc/thumbnailmanagerobserver.h Tue May 25 13:01:47 2010 +0300 @@ -101,4 +101,37 @@ TThumbnailRequestId aId ) = 0; }; +/** Thumbnail request types */ +enum TThumbnailRequestType + { + ERequestDeleteThumbnails = 0 + }; + +/** + * Optional callback interface for getting information about other completed + * requests that don't include a thumbnail. + * + * Request types: + * - ERequestDeleteThumbnails + * + * Can be added using SetRequestObserver(MThumbnailManagerRequestObserver& aObserver) + * and removed using RemoveRequestObserver(). + * + * @since Symbian^3 + */ +class MThumbnailManagerRequestObserver + { +public: + /** + * A request is complete. + * + * @since Symbian^3 + * @param aError Error code. + * @param aRequestType Type of the completed request. + * @param aId Request ID for the operation. + */ + virtual void ThumbnailRequestReady( TInt aError, TThumbnailRequestType aRequestType, + TThumbnailRequestId aId ) = 0; +}; + #endif // THUMBNAILMANAGEROBSERVER_H