CNcdPurchaseDetails Class Reference

class CNcdPurchaseDetails : public CBase

A default implementation for the MNcdPurchaseDetails interface.

ncdutils_20019119.dll

MNcdPurchaseDetails The number of DownloadedFiles must always match the number of DownloadInfos. DownloadFiles are added/removed automatically if necessary when the details are saved to purchase history

The number of InstallInfos must be equal to or lesser than the number of DownloadInfos. Excess InstallInfos are removed when the details are saved to purchase history

Inherits from

Public Member Functions
~CNcdPurchaseDetails ()
IMPORT_C void AddDownloadInfoL ( MNcdPurchaseDownloadInfo *)
IMPORT_C void AddDownloadedFileL (const TDesC &)
IMPORT_C void AddInstallInfoL ( MNcdPurchaseInstallInfo *)
TInt32 AttributeInt32 (TPurchaseAttribute)
const TDesC & AttributeString (TPurchaseAttribute)
const TDesC & CatalogSourceName ()
TUid ClientUid ()
const TDesC & Description ()
const TDesC & DownloadAccessPoint ()
IMPORT_C CNcdPurchaseDownloadInfo & DownloadInfo ( TInt )
IMPORT_C TInt DownloadInfoCount ()
TArray < MNcdPurchaseDownloadInfo * > DownloadInfoL ()
const MDesCArray & DownloadedFiles ()
const TDesC & EntityId ()
IMPORT_C void ExternalizeAttributesL ( RWriteStream &)
IMPORT_C void ExternalizeL ( RWriteStream &)
const TDesC & FinalPrice ()
IMPORT_C HBufC8 * GetIconData ()
TBool HasIcon ()
const TDesC8 & Icon ()
IMPORT_C void InsertDownloadInfoL ( MNcdPurchaseDownloadInfo *, TInt )
IMPORT_C void InsertDownloadedFileL (const TDesC &, TInt )
IMPORT_C void InsertInstallInfoL ( MNcdPurchaseInstallInfo *, TInt )
IMPORT_C CNcdPurchaseInstallInfo & InstallInfo ( TInt )
IMPORT_C TInt InstallInfoCount ()
TArray < MNcdPurchaseInstallInfo * > InstallInfoL ()
IMPORT_C void InternalizeAttributesL ( RReadStream &)
IMPORT_C void InternalizeL ( RReadStream &)
const TDesC & ItemName ()
TUint ItemPurpose ()
TItemType ItemType ()
TInt LastOperationErrorCode ()
TTime LastOperationTime ()
const TDesC & Namespace ()
IMPORT_C CNcdPurchaseDetails * NewL ()
IMPORT_C CNcdPurchaseDetails * NewL (const MNcdPurchaseDetails &)
IMPORT_C CNcdPurchaseDetails * NewLC ()
IMPORT_C CNcdPurchaseDetails * NewLC (const MNcdPurchaseDetails &)
const TDesC & OriginNodeId ()
const TDesC & PaymentMethodName ()
const TDesC & PurchaseOptionId ()
const TDesC & PurchaseOptionName ()
const TDesC & PurchaseOptionPrice ()
TTime PurchaseTime ()
IMPORT_C void RemoveDownloadInfo ( TInt )
IMPORT_C void RemoveDownloadedFile ( TInt )
IMPORT_C void RemoveInstallInfo ( TInt )
IMPORT_C void ReplaceDownloadedFileL ( TInt , const TDesC &)
const TDesC & ServerUri ()
IMPORT_C void SetAttributeL (TPurchaseAttribute, TInt32 )
IMPORT_C void SetAttributeL (TPurchaseAttribute, const TDesC &)
IMPORT_C void SetCatalogSourceName ( HBufC *)
IMPORT_C void SetCatalogSourceNameL (const TDesC &)
IMPORT_C void SetClientUid ( TUid )
IMPORT_C void SetDescription ( HBufC *)
IMPORT_C void SetDescriptionL (const TDesC &)
IMPORT_C void SetDownloadAccessPoint ( HBufC *)
IMPORT_C void SetDownloadAccessPointL (const TDesC &)
IMPORT_C void SetDownloadInfoL (const TArray < MNcdPurchaseDownloadInfo * > &)
IMPORT_C void SetDownloadedFiles ( CDesCArray *)
IMPORT_C void SetDownloadedFilesL (const MDesCArray &)
IMPORT_C void SetEntityId ( HBufC *)
IMPORT_C void SetEntityIdL (const TDesC &)
IMPORT_C void SetFinalPrice ( HBufC *)
IMPORT_C void SetFinalPriceL (const TDesC &)
IMPORT_C void SetHasIcon ( TBool )
IMPORT_C void SetIcon ( HBufC8 *)
IMPORT_C void SetIconL (const TDesC8 &)
IMPORT_C void SetInstallInfoL (const TArray < MNcdPurchaseInstallInfo * > &)
IMPORT_C void SetItemName ( HBufC *)
IMPORT_C void SetItemNameL (const TDesC &)
IMPORT_C void SetItemPurpose ( TUint )
IMPORT_C void SetItemType (TItemType)
IMPORT_C void SetLastOperationErrorCode ( TInt )
IMPORT_C void SetLastOperationTime (const TTime &)
IMPORT_C void SetLastUniversalOperationTime ()
IMPORT_C void SetNamespace ( HBufC *)
IMPORT_C void SetNamespaceL (const TDesC &)
IMPORT_C void SetOriginNodeId ( HBufC *)
IMPORT_C void SetOriginNodeIdL (const TDesC &)
IMPORT_C void SetPaymentMethodName ( HBufC *)
IMPORT_C void SetPaymentMethodNameL (const TDesC &)
IMPORT_C void SetPurchaseOptionId ( HBufC *)
IMPORT_C void SetPurchaseOptionIdL (const TDesC &)
IMPORT_C void SetPurchaseOptionName ( HBufC *)
IMPORT_C void SetPurchaseOptionNameL (const TDesC &)
IMPORT_C void SetPurchaseOptionPrice ( HBufC *)
IMPORT_C void SetPurchaseOptionPriceL (const TDesC &)
IMPORT_C void SetPurchaseTime ( TTime )
IMPORT_C void SetServerUri ( HBufC *)
IMPORT_C void SetServerUriL (const TDesC &)
IMPORT_C void SetTotalContentSize ( TInt )
IMPORT_C void SetVersion ( HBufC *)
IMPORT_C void SetVersionL (const TDesC &)
TState State ()
TInt TotalContentSize ()
const TDesC & Version ()
Private Member Functions
CNcdPurchaseDetails ()
void ConstructL ()
void CreateAttributesL ()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
CNcdAttributes * iAttributes
HBufC * iCatalogSourceName
TUid iClientUid
HBufC * iDescription
HBufC * iDownloadAccessPoint
RPointerArray < MNcdPurchaseDownloadInfo > iDownloadInfo
CDesCArray * iDownloadedFiles
HBufC * iEntityId
HBufC * iFinalPrice
TBool iHasIcon
HBufC8 * iIcon
RPointerArray < MNcdPurchaseInstallInfo > iInstallInfo
HBufC * iItemName
TUint iItemPurpose
TItemType iItemType
TInt iLastOperationErrorCode
TTime iLastOperationTime
HBufC * iNamespace
HBufC * iOriginNodeId
HBufC * iPaymentMethodName
HBufC * iPurchaseOptionId
HBufC * iPurchaseOptionName
HBufC * iPurchaseOptionPrice
TTime iPurchaseTime
HBufC * iServerUri
TInt iTotalContentSize
HBufC * iVersion

Constructor & Destructor Documentation

CNcdPurchaseDetails()

CNcdPurchaseDetails ( ) [private]

Private constructor.

~CNcdPurchaseDetails()

~CNcdPurchaseDetails ( ) [virtual]

Destructor.

Member Functions Documentation

AddDownloadInfoL(MNcdPurchaseDownloadInfo *)

IMPORT_C void AddDownloadInfoL ( MNcdPurchaseDownloadInfo * aDownloadInfo )

Add download info

Parameters

MNcdPurchaseDownloadInfo * aDownloadInfo A download info. Ownership is transferred if the operation is successful.

AddDownloadedFileL(const TDesC &)

IMPORT_C void AddDownloadedFileL ( const TDesC & aDownloadedFile )

Add file name for a downloaded file.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aDownloadedFile Filename

AddInstallInfoL(MNcdPurchaseInstallInfo *)

IMPORT_C void AddInstallInfoL ( MNcdPurchaseInstallInfo * aInstallInfo )

Add file installation info.

Exceptions
Leave

System wide error code.

Parameters

MNcdPurchaseInstallInfo * aInstallInfo File installation info. Ownership is transferred if the operation is successful.

AttributeInt32(TPurchaseAttribute)

TInt32 AttributeInt32 ( TPurchaseAttribute aAttribute ) const

Parameters

TPurchaseAttribute aAttribute

AttributeString(TPurchaseAttribute)

const TDesC & AttributeString ( TPurchaseAttribute aAttribute ) const

Parameters

TPurchaseAttribute aAttribute

CatalogSourceName()

const TDesC & CatalogSourceName ( ) const

ClientUid()

TUid ClientUid ( ) const

ConstructL()

void ConstructL ( ) [private]

Private 2nd phase constructor.

CreateAttributesL()

void CreateAttributesL ( ) [private]

Creates attributes if they haven't been created yet

Description()

const TDesC & Description ( ) const

DownloadAccessPoint()

const TDesC & DownloadAccessPoint ( ) const

DownloadInfo(TInt)

IMPORT_C CNcdPurchaseDownloadInfo & DownloadInfo ( TInt aIndex )

Download info getter

Parameters

TInt aIndex

DownloadInfoCount()

IMPORT_C TInt DownloadInfoCount ( ) const

Download info count getter

DownloadedFiles()

const MDesCArray & DownloadedFiles ( ) const

EntityId()

const TDesC & EntityId ( ) const

ExternalizeAttributesL(RWriteStream &)

IMPORT_C void ExternalizeAttributesL ( RWriteStream & aStream ) const

Externalizes attributes to a stream

Parameters

RWriteStream & aStream Write stream

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const
Externalizer
Exceptions
Leave

System wide error code.

Parameters

RWriteStream & aStream Write stream.

FinalPrice()

const TDesC & FinalPrice ( ) const

GetIconData()

IMPORT_C HBufC8 * GetIconData ( )

Get icon data.

Note:

Ownership is transferred.

HasIcon()

TBool HasIcon ( ) const

Icon()

const TDesC8 & Icon ( ) const

InsertDownloadInfoL(MNcdPurchaseDownloadInfo *, TInt)

IMPORT_C void InsertDownloadInfoL ( MNcdPurchaseDownloadInfo * aDownloadInfo,
TInt aIndex
)

Insert download info

Parameters

MNcdPurchaseDownloadInfo * aDownloadInfo A download info. Ownership is transferred if the operation is successful.
TInt aIndex

InsertDownloadedFileL(const TDesC &, TInt)

IMPORT_C void InsertDownloadedFileL ( const TDesC & aDownloadedFile,
TInt aIndex
)

Insert file name for a downloaded file.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aDownloadedFile Filename
TInt aIndex

InsertInstallInfoL(MNcdPurchaseInstallInfo *, TInt)

IMPORT_C void InsertInstallInfoL ( MNcdPurchaseInstallInfo * aInstallInfo,
TInt aIndex
)

Insert file installation info.

Exceptions
Leave

System wide error code.

Parameters

MNcdPurchaseInstallInfo * aInstallInfo File installation info. Ownership is transferred if the operation is successful.
TInt aIndex

InstallInfo(TInt)

IMPORT_C CNcdPurchaseInstallInfo & InstallInfo ( TInt aIndex )

Install info getter

Parameters

TInt aIndex Index

InstallInfoCount()

IMPORT_C TInt InstallInfoCount ( ) const

Install info count getter

InternalizeAttributesL(RReadStream &)

IMPORT_C void InternalizeAttributesL ( RReadStream & aStream )

Internalizes attributes from a stream

Parameters

RReadStream & aStream Read stream

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )
Internalizer
Exceptions
Leave

System wide error code.

Parameters

RReadStream & aStream Read stream.

ItemName()

const TDesC & ItemName ( ) const

ItemPurpose()

TUint ItemPurpose ( ) const

ItemType()

TItemType ItemType ( ) const

LastOperationErrorCode()

TInt LastOperationErrorCode ( ) const

LastOperationTime()

TTime LastOperationTime ( ) const

Namespace()

const TDesC & Namespace ( ) const

NewL()

IMPORT_C CNcdPurchaseDetails * NewL ( ) [static]

Constructor.

Exceptions
Leave

System wide error code.

NewL(const MNcdPurchaseDetails &)

IMPORT_C CNcdPurchaseDetails * NewL ( const MNcdPurchaseDetails & aDetails ) [static]

Copy constructor.

Exceptions
Leave

System wide error code.

Parameters

const MNcdPurchaseDetails & aDetails Details object to copy information from.

NewLC()

IMPORT_C CNcdPurchaseDetails * NewLC ( ) [static]

Constructor. Leaves pointer on cleanup stack.

Exceptions
Leave

System wide error code.

NewLC(const MNcdPurchaseDetails &)

IMPORT_C CNcdPurchaseDetails * NewLC ( const MNcdPurchaseDetails & aDetails ) [static]

Copy constructor. Leaves pointer on cleanup stack.

Exceptions
Leave

System wide error code.

Parameters

const MNcdPurchaseDetails & aDetails Details object to copy information from.

OriginNodeId()

const TDesC & OriginNodeId ( ) const

PaymentMethodName()

const TDesC & PaymentMethodName ( ) const

PurchaseOptionId()

const TDesC & PurchaseOptionId ( ) const

PurchaseOptionName()

const TDesC & PurchaseOptionName ( ) const

PurchaseOptionPrice()

const TDesC & PurchaseOptionPrice ( ) const

PurchaseTime()

TTime PurchaseTime ( ) const

RemoveDownloadInfo(TInt)

IMPORT_C void RemoveDownloadInfo ( TInt aIndex )

Remove download info

Parameters

TInt aIndex Index

RemoveDownloadedFile(TInt)

IMPORT_C void RemoveDownloadedFile ( TInt aIndex )

Remove a file name

Parameters

TInt aIndex

RemoveInstallInfo(TInt)

IMPORT_C void RemoveInstallInfo ( TInt aIndex )

Remove install info

Parameters

TInt aIndex Index

ReplaceDownloadedFileL(TInt, const TDesC &)

IMPORT_C void ReplaceDownloadedFileL ( TInt aIndex,
const TDesC & aDownloadedFile
)

Replaces a file name of the downloaded file.

Exceptions
Leave

System wide error code.

Parameters

TInt aIndex Index
const TDesC & aDownloadedFile

ServerUri()

const TDesC & ServerUri ( ) const

SetAttributeL(TPurchaseAttribute, TInt32)

IMPORT_C void SetAttributeL ( TPurchaseAttribute aAttribute,
TInt32 aValue
)

Integer attribute setter

Parameters

TPurchaseAttribute aAttribute
TInt32 aValue

SetAttributeL(TPurchaseAttribute, const TDesC &)

IMPORT_C void SetAttributeL ( TPurchaseAttribute aAttribute,
const TDesC & aValue
)

String attribute setter

Parameters

TPurchaseAttribute aAttribute
const TDesC & aValue

SetCatalogSourceName(HBufC *)

IMPORT_C void SetCatalogSourceName ( HBufC * aCatalogSourceName )

Set catalog source name.

Parameters

HBufC * aCatalogSourceName Catalog source name. Ownership is transferred.

SetCatalogSourceNameL(const TDesC &)

IMPORT_C void SetCatalogSourceNameL ( const TDesC & aCatalogSourceName )

Set catalog source name.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aCatalogSourceName Catalog source name.

SetClientUid(TUid)

IMPORT_C void SetClientUid ( TUid aClientUid )

Set client UID.

Parameters

TUid aClientUid Client UID.

SetDescription(HBufC *)

IMPORT_C void SetDescription ( HBufC * aDescription )

Set description.

Parameters

HBufC * aDescription Description. Ownership is transferred.

SetDescriptionL(const TDesC &)

IMPORT_C void SetDescriptionL ( const TDesC & aDescription )

Set description.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aDescription Description.

SetDownloadAccessPoint(HBufC *)

IMPORT_C void SetDownloadAccessPoint ( HBufC * aAccessPoint )

Set access point used in download process.

Parameters

HBufC * aAccessPoint Access point. Ownership is transferred.

SetDownloadAccessPointL(const TDesC &)

IMPORT_C void SetDownloadAccessPointL ( const TDesC & aAccessPoint )

Set access point used in download process.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aAccessPoint Access point.

SetDownloadInfoL(const TArray< MNcdPurchaseDownloadInfo * > &)

IMPORT_C void SetDownloadInfoL ( const TArray < MNcdPurchaseDownloadInfo * > & aDownloadInfo )

Set download infos.

Parameters

const TArray < MNcdPurchaseDownloadInfo * > & aDownloadInfo Download infos. Ownership is not transferred, copies will be taken.

SetDownloadedFiles(CDesCArray *)

IMPORT_C void SetDownloadedFiles ( CDesCArray * aDownloadedFiles )

Set file name(s) of the downloaded file(s).

Parameters

CDesCArray * aDownloadedFiles Array of file names. Ownership is transferred.

SetDownloadedFilesL(const MDesCArray &)

IMPORT_C void SetDownloadedFilesL ( const MDesCArray & aDownloadedFiles )

Set file name(s) of the downloaded file(s).

Exceptions
Leave

System wide error code.

Parameters

const MDesCArray & aDownloadedFiles Array of file names. Ownership is not transferred, copies will be taken.

SetEntityId(HBufC *)

IMPORT_C void SetEntityId ( HBufC * aEntityId )

Set entity ID.

Parameters

HBufC * aEntityId Entity ID. Ownership is transferred.

SetEntityIdL(const TDesC &)

IMPORT_C void SetEntityIdL ( const TDesC & aEntityId )

Set entity ID.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aEntityId Entity ID.

SetFinalPrice(HBufC *)

IMPORT_C void SetFinalPrice ( HBufC * aFinalPrice )

Set final price.

Parameters

HBufC * aFinalPrice Final price. Ownership is transferred.

SetFinalPriceL(const TDesC &)

IMPORT_C void SetFinalPriceL ( const TDesC & aFinalPrice )

Set final price.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aFinalPrice Final price.

SetHasIcon(TBool)

IMPORT_C void SetHasIcon ( TBool aHasIcon )

Setter for HasIcon flag.

Parameters

TBool aHasIcon flag value.

SetIcon(HBufC8 *)

IMPORT_C void SetIcon ( HBufC8 * aIcon )

Set icon.

Parameters

HBufC8 * aIcon Icon data. Ownership is transferred.

SetIconL(const TDesC8 &)

IMPORT_C void SetIconL ( const TDesC8 & aIcon )

Set icon.

Exceptions
Leave

System wide error code.

Parameters

const TDesC8 & aIcon Icon data.

SetInstallInfoL(const TArray< MNcdPurchaseInstallInfo * > &)

IMPORT_C void SetInstallInfoL ( const TArray < MNcdPurchaseInstallInfo * > & aInstallInfo )

Set file installation infos.

Exceptions
Leave

System wide error code.

Parameters

const TArray < MNcdPurchaseInstallInfo * > & aInstallInfo File installation info array. Ownership is not transferred, copies will be taken.

SetItemName(HBufC *)

IMPORT_C void SetItemName ( HBufC * aItemName )

Set item name.

Parameters

HBufC * aItemName Item name. Ownership is transferred.

SetItemNameL(const TDesC &)

IMPORT_C void SetItemNameL ( const TDesC & aItemName )

Set item name.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aItemName Item name.

SetItemPurpose(TUint)

IMPORT_C void SetItemPurpose ( TUint aItemPurpose )

Set item purpose.

TNcdItemPurpose

Parameters

TUint aItemPurpose Item purpose. Bit field of TNcdItemPurpose flags.

SetItemType(TItemType)

IMPORT_C void SetItemType ( TItemType aItemType )

Set item type.

Parameters

TItemType aItemType Item type.

SetLastOperationErrorCode(TInt)

IMPORT_C void SetLastOperationErrorCode ( TInt aError )

Set the last operation error code.

Parameters

TInt aError The error code.

SetLastOperationTime(const TTime &)

IMPORT_C void SetLastOperationTime ( const TTime & aTime )

Set the last operation time. This should be universal time.

Parameters

const TTime & aTime The universal time.

SetLastUniversalOperationTime()

IMPORT_C void SetLastUniversalOperationTime ( )

Set the last operation time to the current universal time.

SetNamespace(HBufC *)

IMPORT_C void SetNamespace ( HBufC * aNamespace )

Set namespace.

Parameters

HBufC * aNamespace Namespace. Ownership is transferred.

SetNamespaceL(const TDesC &)

IMPORT_C void SetNamespaceL ( const TDesC & aNamespace )

Set namespace.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aNamespace Namespace.

SetOriginNodeId(HBufC *)

IMPORT_C void SetOriginNodeId ( HBufC * aOriginNodeId )

Set the origin node id.

Parameters

HBufC * aOriginNodeId The id.

SetOriginNodeIdL(const TDesC &)

IMPORT_C void SetOriginNodeIdL ( const TDesC & aOriginNodeId )

Set the origin node id.

Parameters

const TDesC & aOriginNodeId The id.

SetPaymentMethodName(HBufC *)

IMPORT_C void SetPaymentMethodName ( HBufC * aPaymentMethodName )

Set payment method name.

Parameters

HBufC * aPaymentMethodName Payment method name. Ownership is transferred.

SetPaymentMethodNameL(const TDesC &)

IMPORT_C void SetPaymentMethodNameL ( const TDesC & aPaymentMethodName )

Set payment method name.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aPaymentMethodName Payment method name.

SetPurchaseOptionId(HBufC *)

IMPORT_C void SetPurchaseOptionId ( HBufC * aPurchaseOptionId )

Set purchase option ID.

Parameters

HBufC * aPurchaseOptionId Purchase option ID. Ownership is transferred.

SetPurchaseOptionIdL(const TDesC &)

IMPORT_C void SetPurchaseOptionIdL ( const TDesC & aPurchaseOptionId )

Set purchase option ID.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aPurchaseOptionId Purchase option ID.

SetPurchaseOptionName(HBufC *)

IMPORT_C void SetPurchaseOptionName ( HBufC * aPurchaseOptionName )

Set purchase option name.

Parameters

HBufC * aPurchaseOptionName Purchase option name. Ownership is transferred.

SetPurchaseOptionNameL(const TDesC &)

IMPORT_C void SetPurchaseOptionNameL ( const TDesC & aPurchaseOptionName )

Set purchase option name.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aPurchaseOptionName Purchase option name.

SetPurchaseOptionPrice(HBufC *)

IMPORT_C void SetPurchaseOptionPrice ( HBufC * aPurchaseOptionPrice )

Set purchase option price.

Parameters

HBufC * aPurchaseOptionPrice Purchase option price. Ownership is transferred.

SetPurchaseOptionPriceL(const TDesC &)

IMPORT_C void SetPurchaseOptionPriceL ( const TDesC & aPurchaseOptionPrice )

Set purchase option price.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aPurchaseOptionPrice Purchase option price.

SetPurchaseTime(TTime)

IMPORT_C void SetPurchaseTime ( TTime aPurchaseTime )

Set time of purchase.

Parameters

TTime aPurchaseTime Purchase time.

SetServerUri(HBufC *)

IMPORT_C void SetServerUri ( HBufC * aServerUri )

Set server URI.

Parameters

HBufC * aServerUri Server URI. Ownership is transferred.

SetServerUriL(const TDesC &)

IMPORT_C void SetServerUriL ( const TDesC & aServerUri )

Set server URI.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aServerUri Server URI.

SetTotalContentSize(TInt)

IMPORT_C void SetTotalContentSize ( TInt aSize )

Set the total content size.

Parameters

TInt aSize The size.

SetVersion(HBufC *)

IMPORT_C void SetVersion ( HBufC * aVersion )

Set version.

Parameters

HBufC * aVersion Version. Ownership is transferred.

SetVersionL(const TDesC &)

IMPORT_C void SetVersionL ( const TDesC & aVersion )

Set version.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aVersion Version.

State()

TState State ( ) const

TotalContentSize()

TInt TotalContentSize ( ) const

Version()

const TDesC & Version ( ) const

Member Data Documentation

CNcdAttributes * iAttributes

CNcdAttributes * iAttributes [private]

HBufC * iCatalogSourceName

HBufC * iCatalogSourceName [private]

TUid iClientUid

TUid iClientUid [private]

HBufC * iDescription

HBufC * iDescription [private]

HBufC * iDownloadAccessPoint

HBufC * iDownloadAccessPoint [private]

RPointerArray< MNcdPurchaseDownloadInfo > iDownloadInfo

RPointerArray < MNcdPurchaseDownloadInfo > iDownloadInfo [private]

CDesCArray * iDownloadedFiles

CDesCArray * iDownloadedFiles [private]

HBufC * iEntityId

HBufC * iEntityId [private]

HBufC * iFinalPrice

HBufC * iFinalPrice [private]

TBool iHasIcon

TBool iHasIcon [private]

HBufC8 * iIcon

HBufC8 * iIcon [private]

RPointerArray< MNcdPurchaseInstallInfo > iInstallInfo

RPointerArray < MNcdPurchaseInstallInfo > iInstallInfo [private]

HBufC * iItemName

HBufC * iItemName [private]

TUint iItemPurpose

TUint iItemPurpose [private]

TItemType iItemType

TItemType iItemType [private]

TInt iLastOperationErrorCode

TInt iLastOperationErrorCode [private]

TTime iLastOperationTime

TTime iLastOperationTime [private]

HBufC * iNamespace

HBufC * iNamespace [private]

HBufC * iOriginNodeId

HBufC * iOriginNodeId [private]

HBufC * iPaymentMethodName

HBufC * iPaymentMethodName [private]

HBufC * iPurchaseOptionId

HBufC * iPurchaseOptionId [private]

HBufC * iPurchaseOptionName

HBufC * iPurchaseOptionName [private]

HBufC * iPurchaseOptionPrice

HBufC * iPurchaseOptionPrice [private]

TTime iPurchaseTime

TTime iPurchaseTime [private]

HBufC * iServerUri

HBufC * iServerUri [private]

TInt iTotalContentSize

TInt iTotalContentSize [private]

HBufC * iVersion

HBufC * iVersion [private]