CDownloadMgrUiBase Class Reference

Link against: DownloadMgrUiLib.lib

Capability Information

Required Capabilities

None


#include <
CDownloadMgrUiBase.h>

Inherited by CDownloadMgrUiDownloadsList, and CDownloadMgrUiUserInteractions.


Detailed Description

Abstaract base class for UI Lib classes with UI controls.

It owns a set of downloads that belong to the derived concrete class. Derived classes must implement MHttpDownloadMgrObserver. When constructing one Download Manager must be added.

Dll Download Manager UI Lib
Since:
Series 60 2.8

Public Member Functions

TPtrC ResourceFileName () const
IMPORT_C void SetServerAppExitObserver (MAknServerAppExitObserver *aObserver)
 Set an oberver for embedded application exit events.
virtual IMPORT_C void GetIntAttributeL (const TUint aAttribute, TInt32 &aValue)=0
 Gets the value for a TInt attribute.
virtual IMPORT_C void GetBoolAttributeL (const TUint aAttribute, TBool &aValue)=0
 Gets the value for a TBool attribute.
virtual IMPORT_C void GetStringAttributeL (const TUint aAttribute, TDes16 &aValue)=0
 Gets the value for a TDes16 attribute.
virtual IMPORT_C void GetStringAttributeL (const TUint aAttribute, TDes8 &aValue)=0
 Gets the value for a TDes8 attribute.
virtual IMPORT_C void SetIntAttributeL (const TUint aAttribute, TInt32 aValue)=0
 Sets the value for a TInt attribute.
virtual IMPORT_C void SetBoolAttributeL (const TUint aAttribute, TBool aValue)=0
 Sets the value for a TBool attribute.
virtual IMPORT_C void SetStringAttributeL (const TUint aAttribute, const TDesC16 &aValue)=0
 Sets the value for a TDesC attribute.
virtual IMPORT_C void SetStringAttributeL (const TUint aAttribute, const TDesC8 &aValue)=0
 Sets the value for a TDesC8 attribute.

Protected Member Functions

 CDownloadMgrUiBase (CDownloadMgrUiLibRegistry &aRegistryModel)
 C++ default constructor.
void BaseConstructL ()
 By default Symbian 2nd phase constructor is private.
virtual ~CDownloadMgrUiBase ()
 Destructor.

Protected Attributes

CCoeEnv & iCoeEnv
 Reference to CONE environment.
CDownloadMgrUiLibRegistryiRegistryModel
 Reference to the Registry.
MAknServerAppExitObserveriServerAppExitObserver
 Reference to the observer.

Constructor & Destructor Documentation

CDownloadMgrUiBase::CDownloadMgrUiBase CDownloadMgrUiLibRegistry aRegistryModel  )  [protected]
 

C++ default constructor.

virtual CDownloadMgrUiBase::~CDownloadMgrUiBase  )  [protected, virtual]
 

Destructor.


Member Function Documentation

void CDownloadMgrUiBase::BaseConstructL  )  [protected]
 

By default Symbian 2nd phase constructor is private.

virtual IMPORT_C void CDownloadMgrUiBase::GetBoolAttributeL const TUint  aAttribute,
TBool &  aValue
[pure virtual]
 

Gets the value for a TBool attribute.

Leaves with KErrNotSupported, if the attribute is not supported.

Parameters:
aAttribute Identifies the attribute to be retrived.
aValue On completion, contains the requested TBool attribute.
Returns:
None.

Implemented in CDownloadMgrUiDownloadsList, and CDownloadMgrUiUserInteractions.

virtual IMPORT_C void CDownloadMgrUiBase::GetIntAttributeL const TUint  aAttribute,
TInt32 &  aValue
[pure virtual]
 

Gets the value for a TInt attribute.

Leaves with KErrNotSupported, if the attribute is not supported.

Parameters:
aAttribute Identifies the attribute to be retrived.
aValue On completion, contains the requested TInt attribute.
Returns:
None.

Implemented in CDownloadMgrUiDownloadsList, and CDownloadMgrUiUserInteractions.

virtual IMPORT_C void CDownloadMgrUiBase::GetStringAttributeL const TUint  aAttribute,
TDes8 &  aValue
[pure virtual]
 

Gets the value for a TDes8 attribute.

Leaves with KErrNotSupported, if the attribute is not supported.

Parameters:
aAttribute Identifies the attribute to be retrived.
aValue On completion, contains the requested TDes8 attribute.
Returns:
None.

Implemented in CDownloadMgrUiDownloadsList, and CDownloadMgrUiUserInteractions.

virtual IMPORT_C void CDownloadMgrUiBase::GetStringAttributeL const TUint  aAttribute,
TDes16 &  aValue
[pure virtual]
 

Gets the value for a TDes16 attribute.

Leaves with KErrNotSupported, if the attribute is not supported.

Parameters:
aAttribute Identifies the attribute to be retrived.
aValue On completion, contains the requested TDes16 attribute.
Returns:
None.

Implemented in CDownloadMgrUiDownloadsList, and CDownloadMgrUiUserInteractions.

TPtrC CDownloadMgrUiBase::ResourceFileName  )  const
 
virtual IMPORT_C void CDownloadMgrUiBase::SetBoolAttributeL const TUint  aAttribute,
TBool  aValue
[pure virtual]
 

Sets the value for a TBool attribute.

Leaves with KErrNotSupported, if the attribute is not supported.

Parameters:
aAttribute Identifies the attribute to be set.
aValue The value to be set.
Returns:
None.

Implemented in CDownloadMgrUiDownloadsList, and CDownloadMgrUiUserInteractions.

virtual IMPORT_C void CDownloadMgrUiBase::SetIntAttributeL const TUint  aAttribute,
TInt32  aValue
[pure virtual]
 

Sets the value for a TInt attribute.

Leaves with KErrNotSupported, if the attribute is not supported.

Parameters:
aAttribute Identifies the attribute to be set.
aValue The value to be set.
Returns:
None.

Implemented in CDownloadMgrUiDownloadsList, and CDownloadMgrUiUserInteractions.

IMPORT_C void CDownloadMgrUiBase::SetServerAppExitObserver MAknServerAppExitObserver aObserver  ) 
 

Set an oberver for embedded application exit events.

Parameters:
aObserver Exit observer. Can be NULL.
Returns:
None.
virtual IMPORT_C void CDownloadMgrUiBase::SetStringAttributeL const TUint  aAttribute,
const TDesC8 &  aValue
[pure virtual]
 

Sets the value for a TDesC8 attribute.

Leaves with KErrNotSupported, if the attribute is not supported.

Parameters:
aAttribute Identifies the attribute to be set.
aValue The value to be set.
Returns:
None.

Implemented in CDownloadMgrUiDownloadsList, and CDownloadMgrUiUserInteractions.

virtual IMPORT_C void CDownloadMgrUiBase::SetStringAttributeL const TUint  aAttribute,
const TDesC16 &  aValue
[pure virtual]
 

Sets the value for a TDesC attribute.

Leaves with KErrNotSupported, if the attribute is not supported.

Parameters:
aAttribute Identifies the attribute to be set.
aValue The value to be set.
Returns:
None.

Implemented in CDownloadMgrUiDownloadsList, and CDownloadMgrUiUserInteractions.


Field Documentation

CCoeEnv& CDownloadMgrUiBase::iCoeEnv [protected]
 

Reference to CONE environment.

CDownloadMgrUiLibRegistry& CDownloadMgrUiBase::iRegistryModel [protected]
 

Reference to the Registry.

MAknServerAppExitObserver* CDownloadMgrUiBase::iServerAppExitObserver [protected]
 

Reference to the observer.


The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2007
Back to top