imagehandlingutilities/thumbnailmanager/thumbnailserver/inc/thumbnailserver.h
changeset 17 ffa62e555b02
parent 15 7197e789b953
child 22 a67f74060682
equal deleted inserted replaced
15:7197e789b953 17:ffa62e555b02
    43 class CThumbnailStore;
    43 class CThumbnailStore;
    44 class MIHLScaler;
    44 class MIHLScaler;
    45 class CThumbnailServerSession;
    45 class CThumbnailServerSession;
    46 class CThumbnailDiskUnmountObserver;
    46 class CThumbnailDiskUnmountObserver;
    47 class CThumbnailMemoryCardObserver;
    47 class CThumbnailMemoryCardObserver;
       
    48 class CThumbnailFetchedChecker;
    48 
    49 
    49 /**
    50 /**
    50  * Helper function to destroy all objects which are referred to
    51  * Helper function to destroy all objects which are referred to
    51  * by pointers in a hash table.
    52  * by pointers in a hash table.
    52  * @since S60 v5.0
    53  * @since S60 v5.0
   371      * @param TBool         EFalse, if new thumbs need to be created
   372      * @param TBool         EFalse, if new thumbs need to be created
   372      */  
   373      */  
   373     TBool UpdateThumbnailsL( const TDesC& aPath,
   374     TBool UpdateThumbnailsL( const TDesC& aPath,
   374                              const TInt aOrientation, const TInt64 aModified );
   375                              const TInt aOrientation, const TInt64 aModified );
   375     
   376     
       
   377     /**
       
   378      * Rename thumbnails.
       
   379      *
       
   380      * @since S60 v5.0
       
   381      * @param aCurrentPath     Current path of the Thumbnail
       
   382      * @param aNewPath         New path for the Thumbnail
       
   383      */
       
   384     void RenameThumbnailsL( const TDesC& aCurrentPath, const TDesC& aNewPath );
       
   385     
   376     /** 
   386     /** 
   377      * Resolve mime type from file extension
   387      * Resolve mime type from file extension
   378      *
   388      *
   379      * @since S60 v5.0     
   389      * @since S60 v5.0     
   380      * @param aFileName Image file
   390      * @param aFileName Image file
   449      * @since S60 v5.o
   459      * @since S60 v5.o
   450      */ 
   460      */ 
   451     
   461     
   452     TBool IsFormatting();
   462     TBool IsFormatting();
   453   
   463   
       
   464     inline CThumbnailFetchedChecker& FetchedChecker() const { return *iFetchedChecker; }
   454 protected: // Functions from base classes
   465 protected: // Functions from base classes
   455 
   466 
   456     /**
   467     /**
   457     * From CPolicyServer.
   468     * From CPolicyServer.
   458     * Handles capability checking for certain server requests.
   469     * Handles capability checking for certain server requests.
   672     CPeriodic* iReconnect;
   683     CPeriodic* iReconnect;
   673     
   684     
   674 #ifdef _DEBUG
   685 #ifdef _DEBUG
   675     TUint32 iPlaceholderCounter;
   686     TUint32 iPlaceholderCounter;
   676 #endif
   687 #endif
       
   688     /**
       
   689      * Fetched checker.
       
   690      * Own.
       
   691      */
       
   692     CThumbnailFetchedChecker* iFetchedChecker;
   677 };
   693 };
   678 
   694 
   679 #endif // THUMBNAILSERVER_H
   695 #endif // THUMBNAILSERVER_H