epoc32/include/mw/cdownloadmgruidownloadslist.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
    13 *
    13 *
    14 * Description:  Supports Download Menu and Downloads List
    14 * Description:  Supports Download Menu and Downloads List
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
       
    19 
       
    20 #ifndef CDOWNLOADMGRUIDOWNLOADSLIST_H
    18 #ifndef CDOWNLOADMGRUIDOWNLOADSLIST_H
    21 #define CDOWNLOADMGRUIDOWNLOADSLIST_H
    19 #define CDOWNLOADMGRUIDOWNLOADSLIST_H
    22 
    20 
    23 //  INCLUDES
    21 //  INCLUDES
    24 #include <CDownloadMgrUiBase.h>
    22 #include <cdownloadmgruibase.h>
    25 #include <DownloadMgrClient.h>
    23 #include <downloadmgrclient.h>
    26 #include <HttpDownloadMgrCommon.h>
    24 #include <httpdownloadmgrcommon.h>
    27 #include <DownloadsListDlgObserver.h>
    25 #include <downloadslistdlgobserver.h>
    28 
    26 
    29 #include <AiwServiceHandler.h>
    27 #include <AiwServiceHandler.h>
    30 #include <AiwCommon.hrh>
    28 #include <AiwCommon.hrh>
    31 
    29 
    32 // FORWARD DECLARATIONS
    30 // FORWARD DECLARATIONS
   144         * @since Series 60 3.2
   142         * @since Series 60 3.2
   145         * @return TBool 
   143         * @return TBool 
   146         */
   144         */
   147         inline TBool IsProgressiveDownloadEnabled() {return iProgressiveDownload; }
   145         inline TBool IsProgressiveDownloadEnabled() {return iProgressiveDownload; }
   148         
   146         
       
   147         /**
       
   148         * Gets the value of downloadlist hide
       
   149         * @return TBool 
       
   150         */
       
   151         inline TBool GetDownloadHide() { return iDownloadListHide; }
       
   152 #ifdef BRDO_SINGLE_CLICK_ENABLED_FF
       
   153         /**
       
   154         * Adding Aiw Commands to the given MenuPane
       
   155         */
       
   156         void AIWPlugInMenusL(TInt aResourceId,CEikMenuPane* aMenuPane);
       
   157 #endif        
   149 
   158 
   150     public: // Functions from CDownloadMgrUiBase
   159     public: // Functions from CDownloadMgrUiBase
   151 
   160 
   152         IMPORT_C virtual void GetIntAttributeL( const TUint aAttribute, TInt32& aValue );
   161         IMPORT_C virtual void GetIntAttributeL( const TUint aAttribute, TInt32& aValue );
   153         IMPORT_C virtual void GetBoolAttributeL( const TUint aAttribute, TBool& aValue );
   162         IMPORT_C virtual void GetBoolAttributeL( const TUint aAttribute, TBool& aValue );
   237                                       TInt& /*aCommandOptions*/,
   246                                       TInt& /*aCommandOptions*/,
   238                                       RHttpDownload& aDownload);
   247                                       RHttpDownload& aDownload);
   239                                       
   248                                       
   240         void LaunchFileManagerApplication();
   249         void LaunchFileManagerApplication();
   241 
   250 
       
   251     public:
       
   252         /**
       
   253         * Sets the value of downloadlist hide
       
   254         * @return void 
       
   255         */
       
   256         void SetDownloadListHide( TBool aHide );
       
   257 
   242     private:  // Data
   258     private:  // Data
   243         
   259         
   244         CDownloadsListExtension*    iExtension; ///< Extension class. Owned.
   260         CDownloadsListExtension*    iExtension; ///< Extension class. Owned.
   245 
   261 
   246         CUserInteractionsUtils*     iUiUtils; ///< Utility. Owned.
   262         CUserInteractionsUtils*     iUiUtils; ///< Utility. Owned.
   254 		TBool						iProgressiveDownload;
   270 		TBool						iProgressiveDownload;
   255 		
   271 		
   256 		TBool						iIsCancelInProgress;
   272 		TBool						iIsCancelInProgress;
   257 		TBool                       iPlatformSupportsGallery;
   273 		TBool                       iPlatformSupportsGallery;
   258 
   274 
       
   275         TBool                       iDownloadListHide;
   259     private: // Friend classes
   276     private: // Friend classes
   260 
   277 
   261         friend class CDownloadsListExtension;
   278         friend class CDownloadsListExtension;
   262     };
   279     };
   263 
   280