photosgallery/viewframework/views/gridview/inc/glxgridviewmlobserver.h
branchRCL_3
changeset 25 191387a8b767
parent 18 bcb43dc84c44
child 32 78ad99c24f08
equal deleted inserted replaced
22:2dac0fdba72b 25:191387a8b767
    19 #ifndef GLXGRIDVIEWMLOBSERVER_H_
    19 #ifndef GLXGRIDVIEWMLOBSERVER_H_
    20 #define GLXGRIDVIEWMLOBSERVER_H_
    20 #define GLXGRIDVIEWMLOBSERVER_H_
    21 
    21 
    22 // Photos Headers
    22 // Photos Headers
    23 #include <mglxmedialistobserver.h>
    23 #include <mglxmedialistobserver.h>
       
    24 #include <glxfiltergeneraldefs.h>
    24 
    25 
    25 // FORWARD DECLARATIONS
    26 // FORWARD DECLARATIONS
    26 class CGlxMediaList;
    27 class CGlxMediaList;
    27 class CHgGrid;
    28 class CHgGrid;
    28 class CGlxDRMUtility;
    29 class CGlxDRMUtility;
    39      * Two-phased constructor.
    40      * Two-phased constructor.
    40      *
    41      *
    41      * @return Pointer to newly created object.
    42      * @return Pointer to newly created object.
    42      */
    43      */
    43     IMPORT_C static CGlxGridViewMLObserver* NewL(MGlxMediaList& aMediaList,
    44     IMPORT_C static CGlxGridViewMLObserver* NewL(MGlxMediaList& aMediaList,
    44             CHgGrid* aHgGrid);
    45             CHgGrid* aHgGrid, TGlxFilterItemType aFilterType =
       
    46                     EGlxFilterVideoAndImages);
    45 
    47 
    46     /**
    48     /**
    47      * Destructor.
    49      * Destructor.
    48      */
    50      */
    49     virtual ~CGlxGridViewMLObserver();
    51     virtual ~CGlxGridViewMLObserver();
    67 private:
    69 private:
    68 
    70 
    69     /**
    71     /**
    70      * C++ default constructor.
    72      * C++ default constructor.
    71      */
    73      */
    72     CGlxGridViewMLObserver(MGlxMediaList& aMediaList,CHgGrid* aHgGrid);
    74     CGlxGridViewMLObserver(MGlxMediaList& aMediaList, CHgGrid* aHgGrid,
       
    75             TGlxFilterItemType aFilterType);
    73 
    76 
    74     /**
    77     /**
    75      * By default Symbian 2nd phase constructor is private.
    78      * By default Symbian 2nd phase constructor is private.
    76      */
    79      */
    77     void ConstructL();
    80     void ConstructL();
   131     RArray<TInt> iModifiedIndexes;
   134     RArray<TInt> iModifiedIndexes;
   132 
   135 
   133     //Grid Thumbnail Attribs
   136     //Grid Thumbnail Attribs
   134     TMPXAttribute iQualityTnAttrib;
   137     TMPXAttribute iQualityTnAttrib;
   135     TMPXAttribute iSpeedTnAttrib;    
   138     TMPXAttribute iSpeedTnAttrib;    
       
   139     // Filtertype, Image / Video
       
   140     TGlxFilterItemType iFilterType;
   136     };
   141     };
   137 #endif //GLXGRIDVIEWMLOBSERVER_H_
   142 #endif //GLXGRIDVIEWMLOBSERVER_H_