browserutilities/downloadmgr/DownloadMgrUiLib/Inc/CDownloadsListDlg.h
changeset 65 5bfc169077b2
parent 42 d39add9822e2
child 94 919f36ff910f
equal deleted inserted replaced
42:d39add9822e2 65:5bfc169077b2
    22 
    22 
    23 //  INCLUDES
    23 //  INCLUDES
    24 #include <e32base.h>
    24 #include <e32base.h>
    25 #include <eikmobs.h>
    25 #include <eikmobs.h>
    26 #include <aknPopup.h>
    26 #include <aknPopup.h>
    27 #include <browser_platform_variant.hrh>
    27 
    28 // DATA TYPES
    28 // DATA TYPES
    29 enum TDownloadsListDlgEvent
    29 enum TDownloadsListDlgEvent
    30     {
    30     {
    31     EDownloadAdded,
    31     EDownloadAdded,
    32     EDownloadChanged,
    32     EDownloadChanged,
    39 class CEikMenuBar;
    39 class CEikMenuBar;
    40 class CDownloadsListArray;
    40 class CDownloadsListArray;
    41 class MDownloadsListDlgObserver;
    41 class MDownloadsListDlgObserver;
    42 class RHttpDownload;
    42 class RHttpDownload;
    43 class CDownloadUtils;
    43 class CDownloadUtils;
    44 #ifdef BRDO_SINGLE_CLICK_ENABLED_FF
       
    45 class CDlStylusPopupMenu;
       
    46 #endif
       
    47 
    44 
    48 // CONSTANTS
    45 // CONSTANTS
    49 /// Refresh timer setting. If this is zero, no timer is used! (Micro is 10^(-6))
    46 /// Refresh timer setting. If this is zero, no timer is used! (Micro is 10^(-6))
    50 const TInt KRefreshIntervalMicroSeconds = 2000000;
    47 const TInt KRefreshIntervalMicroSeconds = 2000000;
    51 /** Refresh timer setting. Active object priority. Ensure that this is higher 
    48 /** Refresh timer setting. Active object priority. Ensure that this is higher 
   133     public: // From MEikMenuObserver
   130     public: // From MEikMenuObserver
   134 
   131 
   135         void ProcessCommandL( TInt aCommandId );
   132         void ProcessCommandL( TInt aCommandId );
   136         void SetEmphasis( CCoeControl* aMenuControl, TBool aEmphasis );
   133         void SetEmphasis( CCoeControl* aMenuControl, TBool aEmphasis );
   137         void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
   134         void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
   138 #ifdef BRDO_SINGLE_CLICK_ENABLED_FF
   135 
   139         CDownloadsListArray* DownloadsListArray(){ return iDownloadsListArray;} 
       
   140         void AddAiwItemsL();
       
   141 #endif        
       
   142     public: // from MEikListBoxObserver
   136     public: // from MEikListBoxObserver
   143     	void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType);
   137     	void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType);
   144 
   138 
   145 
   139 
   146     public: // From CCoeControl
   140     public: // From CCoeControl
   205         RHttpDownload* iHighlightDownload; ///< Not owned.
   199         RHttpDownload* iHighlightDownload; ///< Not owned.
   206         CPeriodic* iRefreshTimer; ///< Refreshes the list. Owned.
   200         CPeriodic* iRefreshTimer; ///< Refreshes the list. Owned.
   207         CDownloadUtils* iDownloadUtils; ///< Owned. 
   201         CDownloadUtils* iDownloadUtils; ///< Owned. 
   208         TBool iIsMSKChangeHandled;
   202         TBool iIsMSKChangeHandled;
   209 		TBool iProgressiveDownload;
   203 		TBool iProgressiveDownload;
   210 #ifdef BRDO_SINGLE_CLICK_ENABLED_FF
       
   211 		CDlStylusPopupMenu *iStylusMenu;
       
   212 		TPointerEvent iPointerEvent;
       
   213 #endif
       
   214     };
   204     };
   215 
   205 
   216 #endif /* CDOWNLOADSLISTDLG_H */
   206 #endif /* CDOWNLOADSLISTDLG_H */