photosgallery/viewframework/views/listview/inc/glxlistviewimp.h
branchRCL_3
changeset 14 ce1c7ad1f18b
parent 13 71da52165949
child 18 bcb43dc84c44
--- a/photosgallery/viewframework/views/listview/inc/glxlistviewimp.h	Fri Mar 12 15:42:44 2010 +0200
+++ b/photosgallery/viewframework/views/listview/inc/glxlistviewimp.h	Mon Mar 15 12:40:30 2010 +0200
@@ -32,6 +32,9 @@
 #include <ganes/HgScrollBufferObserverIface.h>
 #include <ganes/HgSelectionObserverIface.h>
 
+#include <glxprogressindicator.h>
+#include <harvesterclient.h>
+
 // FORWARD DECLARATIONS
 class MMPXCollectionUtility;
 class CGlxPreviewThumbnailBinding;
@@ -39,6 +42,18 @@
 class CHgDoubleGraphicListFlat;
 class CAknsBasicBackgroundControlContext;
 
+
+//NOT: This enum is based on TGlxCollectionPluginPriority. If any
+//change happen regarding priority order in that, need to change 
+//in this enum also.
+enum
+    {
+    EGlxListItemAll = 0,
+    EGlxListItemMonth,
+    EGlxListItemAlbum,
+    EGlxLIstItemTag    
+    };
+
 // CLASS DECLARATION
 
 /**
@@ -57,7 +72,8 @@
 									   public MGlxMediaListObserver,
 								       public MHgScrollBufferObserver,
 									   public MHgSelectionObserver,
-									   public MPreviewTNObserver
+									   public MPreviewTNObserver,
+									   public MDialogDismisedObserver
     {
 public:
     /**
@@ -157,6 +173,7 @@
     
 private:
     void CreateListL();
+    void SetDefaultThumbnailL(TInt aIndex);
 	 
 public: // from MGlxMediaListObserver
     void HandleItemAddedL( TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList );
@@ -173,6 +190,7 @@
     void HandleMediaL( TInt aListIndex, MGlxMediaList* aList );
     void HandleItemModifiedL( const RArray<TInt>& aItemIndexes, MGlxMediaList* aList );
     void HandlePopulatedL( MGlxMediaList* aList );
+    void HandleDialogDismissedL(); // from MDialogDismisedObserver
 	 
 private:    // Data
 
@@ -217,6 +235,10 @@
     // save title text 
     HBufC* iTitletext;
 
+    CGlxProgressIndicator* iProgressIndicator;
+
+	//Check for TN generation
+    TBool isTnGenerationComplete;
     };
 
 #endif  // C_GLXLISTVIEWIMP_H