API published in: S60 2nd Ed FP 3
Link against: downloadmgruilib.lib
Required Capabilities
None
#include <cdownloadmgruidownloadslist.h>
Inherits CDownloadMgrUiBase, MHttpDownloadMgrObserver, MDownloadsListDlgObserver, and MAiwNotifyCallback.
Public Member Functions |
|
virtual | ~CDownloadMgrUiDownloadsList () |
Destructor. |
|
IMPORT_C CDownloadMgrUiDownloadMenu & | DownloadMenu () const |
Access the Download Menu utility. |
|
IMPORT_C void | DisplayDownloadsListL () |
Display the list of downloads (the method does not block the scheduler). |
|
void | DisplayDownloadsListL (RHttpDownload &aHighlightDl) |
Display the list of downloads (the method does not block the scheduler). |
|
IMPORT_C void | CancelDisplayingDownloadsList () |
Cancel displaying the list of downloads. |
|
IMPORT_C TBool | IsVisible () const |
Is the List of Downloads visible? |
|
IMPORT_C TInt | Count () const |
Number of downloads in the List of Downloads. |
|
void | DeleteDownloadL (RHttpDownload &aDownload) |
Remove the given download from the list. |
|
TBool | IsOneProgressive () |
Is one of them progressive. |
|
virtual IMPORT_C void | GetIntAttributeL (const TUint aAttribute, TInt32 &aValue) |
Gets the value for a TInt attribute. |
|
virtual IMPORT_C void | GetBoolAttributeL (const TUint aAttribute, TBool &aValue) |
Gets the value for a TBool attribute. |
|
virtual IMPORT_C void | GetStringAttributeL (const TUint aAttribute, TDes16 &aValue) |
Gets the value for a TDes16 attribute. |
|
virtual IMPORT_C void | GetStringAttributeL (const TUint aAttribute, TDes8 &aValue) |
Gets the value for a TDes8 attribute. |
|
virtual IMPORT_C void | SetIntAttributeL (const TUint aAttribute, TInt32 aValue) |
Sets the value for a TInt attribute. |
|
virtual IMPORT_C void | SetBoolAttributeL (const TUint aAttribute, TBool aValue) |
Sets the value for a TBool attribute. |
|
virtual IMPORT_C void | SetStringAttributeL (const TUint aAttribute, const TDesC16 &aValue) |
Sets the value for a TDesC attribute. |
|
virtual IMPORT_C void | SetStringAttributeL (const TUint aAttribute, const TDesC8 &aValue) |
Sets the value for a TDesC8 attribute. |
|
Static Public Member Functions |
|
static CDownloadMgrUiDownloadsList * | NewL (CDownloadMgrUiLibRegistry &aRegistryModel) |
Two-phased constructor. |
|
Protected Member Functions |
|
CDownloadMgrUiDownloadsList (CDownloadMgrUiLibRegistry &aRegistryModel) | |
C++ default constructor. |
|
void | ConstructL () |
By default Symbian 2nd phase constructor is private. |
|
void | AddDownloadsToListModelL (CDownloadsListArray &aLBModel, RHttpDownloadMgr &aDownloadMgr) |
Add downloads to the list residing in aDownloadMgr. |
|
TInt | AddDownloadToListModelL (CDownloadsListArray &aLBModel, RHttpDownload &aDownload) |
Add the download to the list. |
|
void | NewDownloadCreatedL (RHttpDownload &aDownload) |
void | UpdateProgressInfoL (RHttpDownload &aDownload, THttpDownloadEvent aEvent) |
void | DownloadPausedL (RHttpDownload &aDownload, THttpDownloadEvent aEvent) |
void | DownloadCompletedL (RHttpDownload &aDownload, THttpDownloadEvent aEvent) |
void | DownloadFailedL (RHttpDownload &aDownload, THttpDownloadEvent aEvent) |
void | PauseableStateChangedL (RHttpDownload &aDownload, TBool aPausable) |
void | HideMenu () |
virtual void | HandleDMgrEventL (RHttpDownload &aDownload, THttpDownloadEvent aEvent) |
Indicates an event. |
|
virtual void | PreLayoutDynInitL (CDownloadsListDlg &aDialog) |
Called for layouting the dialog before executing it. |
|
virtual void | ProcessCommandL (CDownloadsListDlg &aDialog, TInt aCommandId) |
Called for processing not dialog specific commands. |
|
virtual void | DynInitMenuPaneL (CDownloadsListDlg &aDialog, TInt aResourceId, CEikMenuPane *aMenuPane) |
Called for initializing Options menu. |
|
virtual TKeyResponse | OfferKeyEventL (CDownloadsListDlg &aDialog, const TKeyEvent &aKeyEvent, TEventCode aType) |
Key events first forwarded to the observer. |
|
TInt | HandleNotifyL (TInt, TInt, CAiwGenericParamList &, const CAiwGenericParamList &) |
Handles notifications caused by an asynchronous Execute*CmdL call or an event. |
|
Friends |
|
class | CDownloadsListExtension |
|
Destructor. |
|
C++ default constructor. |
|
Add downloads to the list residing in aDownloadMgr. If a given download is already on the list, the list item is only updated. |
|
Add the download to the list. If the download is already on the list, the list item is only updated. This method should be used for adding new downloads - not for updating existing ones.
|
|
Cancel displaying the list of downloads.
|
|
By default Symbian 2nd phase constructor is private. |
|
Number of downloads in the List of Downloads.
|
|
Remove the given download from the list. |
|
Display the list of downloads (the method does not block the scheduler). It means that this method initializes an active object, that completes itself and it executes the Downloads List dialog in it's RunL. Using this method the caller is not blocked by the wait-dialog. This method is not exported!
|
|
Display the list of downloads (the method does not block the scheduler). It means that this method initializes an active object, that completes itself and it executes the Downloads List dialog in it's RunL. Using this method the caller is not blocked by the wait-dialog.
|
|
|
|
Access the Download Menu utility.
|
|
|
Called for initializing Options menu. Implements MDownloadsListDlgObserver. |
|
Gets the value for a TBool attribute. Leaves with KErrNotSupported, if the attribute is not supported.
Implements CDownloadMgrUiBase. |
|
Gets the value for a TInt attribute. Leaves with KErrNotSupported, if the attribute is not supported.
Implements CDownloadMgrUiBase. |
|
Gets the value for a TDes8 attribute. Leaves with KErrNotSupported, if the attribute is not supported.
Implements CDownloadMgrUiBase. |
|
Gets the value for a TDes16 attribute. Leaves with KErrNotSupported, if the attribute is not supported.
Implements CDownloadMgrUiBase. |
|
Indicates an event.
Implements MHttpDownloadMgrObserver. |
|
Handles notifications caused by an asynchronous Execute*CmdL call or an event.
Implements MAiwNotifyCallback. |
|
|
Is one of them progressive.
|
|
Is the List of Downloads visible?
|
|
|
Two-phased constructor. |
|
Key events first forwarded to the observer. Implements MDownloadsListDlgObserver. |
|
|
Called for layouting the dialog before executing it. Implements MDownloadsListDlgObserver. |
|
Called for processing not dialog specific commands. Implements MDownloadsListDlgObserver. |
|
Sets the value for a TBool attribute. Leaves with KErrNotSupported, if the attribute is not supported.
Implements CDownloadMgrUiBase. |
|
Sets the value for a TInt attribute. Leaves with KErrNotSupported, if the attribute is not supported.
Implements CDownloadMgrUiBase. |
|
Sets the value for a TDesC8 attribute. Leaves with KErrNotSupported, if the attribute is not supported.
Implements CDownloadMgrUiBase. |
|
Sets the value for a TDesC attribute. Leaves with KErrNotSupported, if the attribute is not supported.
Implements CDownloadMgrUiBase. |
|
|