browserutilities/browserdialogsprovider/Src/BrowserViewImagesPopup.cpp
branchRCL_3
changeset 94 919f36ff910f
parent 93 79859ed3eea9
equal deleted inserted replaced
93:79859ed3eea9 94:919f36ff910f
    17 *
    17 *
    18 */
    18 */
    19 
    19 
    20 
    20 
    21 // USER INCLUDES
    21 // USER INCLUDES
    22 #include "BrowserDialogsProvider.h"
    22 #include <browser_platform_variant.hrh>
       
    23 #include <browserdialogsprovider.h>
    23 #include "BrowserDialogsProvider.hrh"
    24 #include "BrowserDialogsProvider.hrh"
    24 #include "BrowserViewImagesPopup.h"
    25 #include "BrowserViewImagesPopup.h"
    25 #include "PhotoOperationWait.h"
    26 #include "PhotoOperationWait.h"
    26 #include "BrowserViewImagesListBox.h"
    27 #include "BrowserViewImagesListBox.h"
    27 
    28 
    28 // SYSTEM INCLUDES
    29 // SYSTEM INCLUDES
    29 #include <DocumentHandler.h>
    30 #include <documenthandler.h>
    30 #include <apmstd.h>
    31 #include <apmstd.h>
    31 #include <uri16.h>
    32 #include <Uri16.h>
    32 #include <aknenv.h>
    33 #include <aknenv.h>
    33 #include <avkon.mbg>
    34 #include <avkon.mbg>
    34 #include <aknEditStateIndicator.h>
    35 #include <akneditstateindicator.h>
    35 #include <AknsListBoxBackgroundControlContext.h>
    36 #include <AknsListBoxBackgroundControlContext.h>
    36 #include <AiwGenericParam.h>
    37 #include <AiwGenericParam.h>
    37 
    38 
    38 // Resources
    39 // Resources
    39 #include <BrowserDialogsProvider.rsg>
    40 #include <BrowserDialogsProvider.rsg>
   138 // ---------------------------------------------------------------------------
   139 // ---------------------------------------------------------------------------
   139 //
   140 //
   140 void CBrowserViewImagesPopup::HandleListBoxEventL( CEikListBox* aListBox, 
   141 void CBrowserViewImagesPopup::HandleListBoxEventL( CEikListBox* aListBox, 
   141                                                     TListBoxEvent aEventType )
   142                                                     TListBoxEvent aEventType )
   142     {
   143     {
   143     if((aEventType==EEventEnterKeyPressed || aEventType==EEventItemDoubleClicked) && aListBox==ListBox())
   144 #ifdef BRDO_SINGLE_CLICK_ENABLED_FF      
       
   145     if((aEventType==EEventEnterKeyPressed || aEventType==EEventItemDoubleClicked || aEventType==EEventItemSingleClicked) && aListBox==ListBox())
       
   146 #else
       
   147     if((aEventType==EEventEnterKeyPressed || aEventType==EEventItemDoubleClicked ) && aListBox==ListBox())
       
   148 #endif        
   144         {
   149         {
   145         ProcessCommandL( EDialogsProviderCmdViewImagesView );
   150         ProcessCommandL( EDialogsProviderCmdViewImagesView );
   146         }
   151         }
   147     }
   152     }
   148 
   153