--- a/imagehandlingutilities/thumbnailmanager/thumbnailserver/inc/thumbnailserver.h Fri Feb 19 23:07:36 2010 +0200
+++ b/imagehandlingutilities/thumbnailmanager/thumbnailserver/inc/thumbnailserver.h Fri Mar 12 15:43:57 2010 +0200
@@ -167,7 +167,8 @@
*/
void StoreThumbnailL( const TDesC& aPath, CFbsBitmap* aBitmap, const TSize&
aOriginalSize, const TBool aCropped, const TThumbnailSize aThumbnailSize,
- const TThumbnailId aThumbnailId, const TBool aThumbFromPath = ETrue,
+ const TInt64 aModified,
+ const TBool aThumbFromPath = ETrue,
const TBool aCheckExist = ETrue);
/**
@@ -189,18 +190,6 @@
TDesC8* & aData, const TThumbnailSize aThumbnailSize, TSize &aOriginalSize );
/**
- * Fetch thumbnail image.
- *
- * @since S60 v5.0
- * @param aThumbnailId ID of the media object whose thumbnail is to be
- * retrieved.
- * @param aThumbnail Pointer to get the fetched thumbnail bitmap.
- * Caller assumes ownership.
- */
- void FetchThumbnailL( TThumbnailId aThumbnailId, CFbsBitmap* &
- aThumbnail, TDesC8* & aData, TThumbnailSize aThumbnailSize, TSize &aOriginalSize );
-
- /**
* Delete thumbnails.
*
* @since S60 v5.0
@@ -325,9 +314,10 @@
* @since S60 v5.0
* @param aPath Path associated to missing thumbnails
* @param aMissingSizes Returns a list of thumbnail sizes not yet create related to the path
+ * @param aCheckGridSizeOnly check only is Grid size missing
*/
- void GetMissingSizesAndIDsL( const TDesC& aPath, TInt aSourceType, RArray <
- TThumbnailPersistentSize > & aMissingSizes, TBool& aMissingIDs);
+ void GetMissingSizesL( const TDesC& aPath, TInt aSourceType, RArray <
+ TThumbnailPersistentSize > & aMissingSizes, TBool aCheckGridSizeOnly);
/**
* Fileserver
@@ -375,13 +365,12 @@
* Update thumbnails in database
*
* @since S60 v5.0
- * @param aItemId TThumbnailId
* @param aPath (New) path for the Thumbnail
* @param aOrientation Thumbnail orientation
* @param aModified Last modified
* @param TBool EFalse, if new thumbs need to be created
*/
- TBool UpdateThumbnailsL( const TThumbnailId aItemId, const TDesC& aPath,
+ TBool UpdateThumbnailsL( const TDesC& aPath,
const TInt aOrientation, const TInt64 aModified );
/**
@@ -439,15 +428,6 @@
CThumbnailStore* StoreForPathL( const TDesC& aPath );
/**
- * Update ID in database
- *
- * @since S60 v5.0
- * @param aItemId Id of item whose thumbnails are to be updated.
- * @param aNewPath Path property of the object to be updated.
- */
- void UpdateIDL( const TDesC& aPath, const TThumbnailId aNewId );
-
- /**
* Close Removable Stores
*
* @since S60 v5.0
@@ -531,7 +511,12 @@
*/
void OpenStoresL();
-
+ /**
+ * Callback for reconnect timer
+ *
+ * @since S60 v5.0
+ */
+ static TInt ReconnectCallBack(TAny* aAny);
private:
@@ -683,6 +668,9 @@
TBool iFormatting;
+ // reconnect timer
+ CPeriodic* iReconnect;
+
#ifdef _DEBUG
TUint32 iPlaceholderCounter;
#endif