photosgallery/viewframework/views/gridview/inc/glxgridviewmlobserver.h
branchRCL_3
changeset 25 191387a8b767
parent 18 bcb43dc84c44
child 32 78ad99c24f08
--- a/photosgallery/viewframework/views/gridview/inc/glxgridviewmlobserver.h	Wed Apr 14 15:57:24 2010 +0300
+++ b/photosgallery/viewframework/views/gridview/inc/glxgridviewmlobserver.h	Tue Apr 27 16:37:53 2010 +0300
@@ -21,6 +21,7 @@
 
 // Photos Headers
 #include <mglxmedialistobserver.h>
+#include <glxfiltergeneraldefs.h>
 
 // FORWARD DECLARATIONS
 class CGlxMediaList;
@@ -41,7 +42,8 @@
      * @return Pointer to newly created object.
      */
     IMPORT_C static CGlxGridViewMLObserver* NewL(MGlxMediaList& aMediaList,
-            CHgGrid* aHgGrid);
+            CHgGrid* aHgGrid, TGlxFilterItemType aFilterType =
+                    EGlxFilterVideoAndImages);
 
     /**
      * Destructor.
@@ -69,7 +71,8 @@
     /**
      * C++ default constructor.
      */
-    CGlxGridViewMLObserver(MGlxMediaList& aMediaList,CHgGrid* aHgGrid);
+    CGlxGridViewMLObserver(MGlxMediaList& aMediaList, CHgGrid* aHgGrid,
+            TGlxFilterItemType aFilterType);
 
     /**
      * By default Symbian 2nd phase constructor is private.
@@ -133,5 +136,7 @@
     //Grid Thumbnail Attribs
     TMPXAttribute iQualityTnAttrib;
     TMPXAttribute iSpeedTnAttrib;    
+    // Filtertype, Image / Video
+    TGlxFilterItemType iFilterType;
     };
 #endif //GLXGRIDVIEWMLOBSERVER_H_