imagehandling_plat/thumbnailmanager_api/inc/thumbnailmanagerobserver.h
branchRCL_3
changeset 21 ad31f4183ddc
parent 0 2014ca87e772
equal deleted inserted replaced
20:ffb2d5dd62e9 21:ad31f4183ddc
    99      */
    99      */
   100     virtual void ThumbnailReady( TInt aError, MThumbnailData& aThumbnail,
   100     virtual void ThumbnailReady( TInt aError, MThumbnailData& aThumbnail,
   101         TThumbnailRequestId aId ) = 0;
   101         TThumbnailRequestId aId ) = 0;
   102 };
   102 };
   103 
   103 
       
   104 /**  Thumbnail request types */
       
   105 enum TThumbnailRequestType
       
   106     {
       
   107     ERequestDeleteThumbnails = 0
       
   108     };
       
   109 
       
   110 /**
       
   111  *  Optional callback interface for getting information about other completed 
       
   112  *  requests that don't include a thumbnail. 
       
   113  *  
       
   114  *  Request types:
       
   115  *  - ERequestDeleteThumbnails
       
   116  *  
       
   117  *  Can be added using SetRequestObserver(MThumbnailManagerRequestObserver& aObserver)
       
   118  *  and removed using RemoveRequestObserver().
       
   119  *
       
   120  *  @since Symbian^3
       
   121  */
       
   122 class MThumbnailManagerRequestObserver
       
   123     {
       
   124 public:
       
   125     /**
       
   126      * A request is complete.
       
   127      *
       
   128      * @since Symbian^3
       
   129      * @param aError         Error code.
       
   130      * @param aRequestType   Type of the completed request.
       
   131      * @param aId            Request ID for the operation.
       
   132      */
       
   133     virtual void ThumbnailRequestReady( TInt aError, TThumbnailRequestType aRequestType,
       
   134         TThumbnailRequestId aId ) = 0;
       
   135 };
       
   136 
   104 #endif // THUMBNAILMANAGEROBSERVER_H
   137 #endif // THUMBNAILMANAGEROBSERVER_H