photosgallery/viewframework/commandhandlers/commoncommandhandlers/inc/glxcommandhandleraiwedit.h
branchRCL_3
changeset 19 420f6808bf21
parent 15 191387a8b767
equal deleted inserted replaced
18:78ad99c24f08 19:420f6808bf21
    43     {
    43     {
    44 public:     
    44 public:     
    45     /**
    45     /**
    46      * Two-phase constructor
    46      * Two-phase constructor
    47      * @param aMediaListProvider object that provides the media list
    47      * @param aMediaListProvider object that provides the media list
    48      * @param aCommandSingleClick Flag to identify single click command
       
    49      * @return Fully constructed command handler
    48      * @return Fully constructed command handler
    50      * @warning ConstructL of base class is called. If ConstructL is 
    49      * @warning ConstructL of base class is called. If ConstructL is 
    51      *          implemented in this class, then care must be taken to call 
    50      *          implemented in this class, then care must be taken to call 
    52      *          CGlxCommandHandlerAiwBase::ConstructL
    51      *          CGlxCommandHandlerAiwBase::ConstructL
    53      */
    52      */
    54     IMPORT_C static CGlxCommandHandlerAiwEdit* NewL(MGlxMediaListProvider* aMediaListProvider, TBool aCommandSingleClick=EFalse);        
    53     IMPORT_C static CGlxCommandHandlerAiwEdit* NewL(MGlxMediaListProvider* aMediaListProvider);        
    55 
    54 
    56     /**
    55     /**
    57      * Destructor
    56      * Destructor
    58      */
    57      */
    59     IMPORT_C ~CGlxCommandHandlerAiwEdit();
    58     IMPORT_C ~CGlxCommandHandlerAiwEdit();
    65     void ConstructL();
    64     void ConstructL();
    66     
    65     
    67     /**
    66     /**
    68      * Constructor
    67      * Constructor
    69      * @param aMediaListProvider object that provides the media list
    68      * @param aMediaListProvider object that provides the media list
    70      * @param aCommandSingleClick Flag to identify single click command
       
    71      */
    69      */
    72     CGlxCommandHandlerAiwEdit( MGlxMediaListProvider* aMediaListProvider, TBool aCommandSingleClick);
    70     CGlxCommandHandlerAiwEdit( MGlxMediaListProvider* aMediaListProvider);
    73     
    71     
    74     /*
    72     /*
    75      * return if the viewing mode is fullscreen or grid
    73      * return if the viewing mode is fullscreen or grid
    76      */
    74      */
    77     TBool IsInFullScreenViewingModeL();    
    75     TBool IsInFullScreenViewingModeL();    
    86 private: // Data Members
    84 private: // Data Members
    87     
    85     
    88      // Owned - AIW Service Handler
    86      // Owned - AIW Service Handler
    89     CAiwServiceHandler* iServiceHandler;    
    87     CAiwServiceHandler* iServiceHandler;    
    90     
    88     
    91      //Edit Supported
    89     //Is ImageEdit supported
    92     TBool iEditSupported;
    90     TBool iIsImageEditSupported;
    93     
    91     
    94     TBool iCommandSingleClick;
    92     //Is VideoEdit supported
    95     
    93     TBool iIsVideoEditSupported;
       
    94        
    96     // Not own
    95     // Not own
    97     CGlxImageViewerManager* iImageViewerInstance;
    96     CGlxImageViewerManager* iImageViewerInstance;
    98     
    97     
    99 	//If in fullscreen mode
    98 	//If in fullscreen mode
   100     TBool iIsFullScreenMode;
    99     TBool iIsFullScreenMode;