CNcdPurchaseDetails Class Reference

class CNcdPurchaseDetails : public CBase

A default implementation for the MNcdPurchaseDetails interface.

ncdutils_20019119.dll

MNcdPurchaseDetailsThe 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 voidAddDownloadInfoL(MNcdPurchaseDownloadInfo *)
IMPORT_C voidAddDownloadedFileL(const TDesC &)
IMPORT_C voidAddInstallInfoL(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 TIntDownloadInfoCount()
TArray< MNcdPurchaseDownloadInfo * >DownloadInfoL()
const MDesCArray &DownloadedFiles()
const TDesC &EntityId()
IMPORT_C voidExternalizeAttributesL(RWriteStream &)
IMPORT_C voidExternalizeL(RWriteStream &)
const TDesC &FinalPrice()
IMPORT_C HBufC8 *GetIconData()
TBool HasIcon()
const TDesC8 &Icon()
IMPORT_C voidInsertDownloadInfoL(MNcdPurchaseDownloadInfo *, TInt)
IMPORT_C voidInsertDownloadedFileL(const TDesC &, TInt)
IMPORT_C voidInsertInstallInfoL(MNcdPurchaseInstallInfo *, TInt)
IMPORT_C CNcdPurchaseInstallInfo &InstallInfo(TInt)
IMPORT_C TIntInstallInfoCount()
TArray< MNcdPurchaseInstallInfo * >InstallInfoL()
IMPORT_C voidInternalizeAttributesL(RReadStream &)
IMPORT_C voidInternalizeL(RReadStream &)
const TDesC &ItemName()
TUint ItemPurpose()
TItemTypeItemType()
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 voidRemoveDownloadInfo(TInt)
IMPORT_C voidRemoveDownloadedFile(TInt)
IMPORT_C voidRemoveInstallInfo(TInt)
IMPORT_C voidReplaceDownloadedFileL(TInt, const TDesC &)
const TDesC &ServerUri()
IMPORT_C voidSetAttributeL(TPurchaseAttribute, TInt32)
IMPORT_C voidSetAttributeL(TPurchaseAttribute, const TDesC &)
IMPORT_C voidSetCatalogSourceName(HBufC *)
IMPORT_C voidSetCatalogSourceNameL(const TDesC &)
IMPORT_C voidSetClientUid(TUid)
IMPORT_C voidSetDescription(HBufC *)
IMPORT_C voidSetDescriptionL(const TDesC &)
IMPORT_C voidSetDownloadAccessPoint(HBufC *)
IMPORT_C voidSetDownloadAccessPointL(const TDesC &)
IMPORT_C voidSetDownloadInfoL(const TArray< MNcdPurchaseDownloadInfo * > &)
IMPORT_C voidSetDownloadedFiles(CDesCArray *)
IMPORT_C voidSetDownloadedFilesL(const MDesCArray &)
IMPORT_C voidSetEntityId(HBufC *)
IMPORT_C voidSetEntityIdL(const TDesC &)
IMPORT_C voidSetFinalPrice(HBufC *)
IMPORT_C voidSetFinalPriceL(const TDesC &)
IMPORT_C voidSetHasIcon(TBool)
IMPORT_C voidSetIcon(HBufC8 *)
IMPORT_C voidSetIconL(const TDesC8 &)
IMPORT_C voidSetInstallInfoL(const TArray< MNcdPurchaseInstallInfo * > &)
IMPORT_C voidSetItemName(HBufC *)
IMPORT_C voidSetItemNameL(const TDesC &)
IMPORT_C voidSetItemPurpose(TUint)
IMPORT_C voidSetItemType(TItemType)
IMPORT_C voidSetLastOperationErrorCode(TInt)
IMPORT_C voidSetLastOperationTime(const TTime &)
IMPORT_C voidSetLastUniversalOperationTime()
IMPORT_C voidSetNamespace(HBufC *)
IMPORT_C voidSetNamespaceL(const TDesC &)
IMPORT_C voidSetOriginNodeId(HBufC *)
IMPORT_C voidSetOriginNodeIdL(const TDesC &)
IMPORT_C voidSetPaymentMethodName(HBufC *)
IMPORT_C voidSetPaymentMethodNameL(const TDesC &)
IMPORT_C voidSetPurchaseOptionId(HBufC *)
IMPORT_C voidSetPurchaseOptionIdL(const TDesC &)
IMPORT_C voidSetPurchaseOptionName(HBufC *)
IMPORT_C voidSetPurchaseOptionNameL(const TDesC &)
IMPORT_C voidSetPurchaseOptionPrice(HBufC *)
IMPORT_C voidSetPurchaseOptionPriceL(const TDesC &)
IMPORT_C voidSetPurchaseTime(TTime)
IMPORT_C voidSetServerUri(HBufC *)
IMPORT_C voidSetServerUriL(const TDesC &)
IMPORT_C voidSetTotalContentSize(TInt)
IMPORT_C voidSetVersion(HBufC *)
IMPORT_C voidSetVersionL(const TDesC &)
TStateState()
TInt TotalContentSize()
const TDesC &Version()
Private Member Functions
CNcdPurchaseDetails()
voidConstructL()
voidCreateAttributesL()
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
TItemTypeiItemType
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 voidAddDownloadInfoL(MNcdPurchaseDownloadInfo *aDownloadInfo)

Add download info

Parameters

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

AddDownloadedFileL(const TDesC &)

IMPORT_C voidAddDownloadedFileL(const TDesC &aDownloadedFile)

Add file name for a downloaded file.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aDownloadedFileFilename

AddInstallInfoL(MNcdPurchaseInstallInfo *)

IMPORT_C voidAddInstallInfoL(MNcdPurchaseInstallInfo *aInstallInfo)

Add file installation info.

Exceptions
Leave

System wide error code.

Parameters

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

AttributeInt32(TPurchaseAttribute)

TInt32 AttributeInt32(TPurchaseAttributeaAttribute)const

Parameters

TPurchaseAttribute aAttribute

AttributeString(TPurchaseAttribute)

const TDesC &AttributeString(TPurchaseAttributeaAttribute)const

Parameters

TPurchaseAttribute aAttribute

CatalogSourceName()

const TDesC &CatalogSourceName()const

ClientUid()

TUid ClientUid()const

ConstructL()

voidConstructL()[private]

Private 2nd phase constructor.

CreateAttributesL()

voidCreateAttributesL()[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(TIntaIndex)

Download info getter

Parameters

TInt aIndex

DownloadInfoCount()

IMPORT_C TIntDownloadInfoCount()const

Download info count getter

DownloadInfoL()

TArray< MNcdPurchaseDownloadInfo * >DownloadInfoL()const

DownloadedFiles()

const MDesCArray &DownloadedFiles()const

EntityId()

const TDesC &EntityId()const

ExternalizeAttributesL(RWriteStream &)

IMPORT_C voidExternalizeAttributesL(RWriteStream &aStream)const

Externalizes attributes to a stream

Parameters

RWriteStream & aStreamWrite stream

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const
Externalizer
Exceptions
Leave

System wide error code.

Parameters

RWriteStream & aStreamWrite 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 voidInsertDownloadInfoL(MNcdPurchaseDownloadInfo *aDownloadInfo,
TIntaIndex
)

Insert download info

Parameters

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

InsertDownloadedFileL(const TDesC &, TInt)

IMPORT_C voidInsertDownloadedFileL(const TDesC &aDownloadedFile,
TIntaIndex
)

Insert file name for a downloaded file.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aDownloadedFileFilename
TInt aIndex

InsertInstallInfoL(MNcdPurchaseInstallInfo *, TInt)

IMPORT_C voidInsertInstallInfoL(MNcdPurchaseInstallInfo *aInstallInfo,
TIntaIndex
)

Insert file installation info.

Exceptions
Leave

System wide error code.

Parameters

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

InstallInfo(TInt)

IMPORT_C CNcdPurchaseInstallInfo &InstallInfo(TIntaIndex)

Install info getter

Parameters

TInt aIndexIndex

InstallInfoCount()

IMPORT_C TIntInstallInfoCount()const

Install info count getter

InstallInfoL()

TArray< MNcdPurchaseInstallInfo * >InstallInfoL()const

InternalizeAttributesL(RReadStream &)

IMPORT_C voidInternalizeAttributesL(RReadStream &aStream)

Internalizes attributes from a stream

Parameters

RReadStream & aStreamRead stream

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)
Internalizer
Exceptions
Leave

System wide error code.

Parameters

RReadStream & aStreamRead stream.

ItemName()

const TDesC &ItemName()const

ItemPurpose()

TUint ItemPurpose()const

ItemType()

TItemTypeItemType()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 & aDetailsDetails 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 & aDetailsDetails 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 voidRemoveDownloadInfo(TIntaIndex)

Remove download info

Parameters

TInt aIndexIndex

RemoveDownloadedFile(TInt)

IMPORT_C voidRemoveDownloadedFile(TIntaIndex)

Remove a file name

Parameters

TInt aIndex

RemoveInstallInfo(TInt)

IMPORT_C voidRemoveInstallInfo(TIntaIndex)

Remove install info

Parameters

TInt aIndexIndex

ReplaceDownloadedFileL(TInt, const TDesC &)

IMPORT_C voidReplaceDownloadedFileL(TIntaIndex,
const TDesC &aDownloadedFile
)

Replaces a file name of the downloaded file.

Exceptions
Leave

System wide error code.

Parameters

TInt aIndexIndex
const TDesC & aDownloadedFile

ServerUri()

const TDesC &ServerUri()const

SetAttributeL(TPurchaseAttribute, TInt32)

IMPORT_C voidSetAttributeL(TPurchaseAttributeaAttribute,
TInt32aValue
)

Integer attribute setter

Parameters

TPurchaseAttribute aAttribute
TInt32 aValue

SetAttributeL(TPurchaseAttribute, const TDesC &)

IMPORT_C voidSetAttributeL(TPurchaseAttributeaAttribute,
const TDesC &aValue
)

String attribute setter

Parameters

TPurchaseAttribute aAttribute
const TDesC & aValue

SetCatalogSourceName(HBufC *)

IMPORT_C voidSetCatalogSourceName(HBufC *aCatalogSourceName)

Set catalog source name.

Parameters

HBufC * aCatalogSourceNameCatalog source name. Ownership is transferred.

SetCatalogSourceNameL(const TDesC &)

IMPORT_C voidSetCatalogSourceNameL(const TDesC &aCatalogSourceName)

Set catalog source name.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aCatalogSourceNameCatalog source name.

SetClientUid(TUid)

IMPORT_C voidSetClientUid(TUidaClientUid)

Set client UID.

Parameters

TUid aClientUidClient UID.

SetDescription(HBufC *)

IMPORT_C voidSetDescription(HBufC *aDescription)

Set description.

Parameters

HBufC * aDescriptionDescription. Ownership is transferred.

SetDescriptionL(const TDesC &)

IMPORT_C voidSetDescriptionL(const TDesC &aDescription)

Set description.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aDescriptionDescription.

SetDownloadAccessPoint(HBufC *)

IMPORT_C voidSetDownloadAccessPoint(HBufC *aAccessPoint)

Set access point used in download process.

Parameters

HBufC * aAccessPointAccess point. Ownership is transferred.

SetDownloadAccessPointL(const TDesC &)

IMPORT_C voidSetDownloadAccessPointL(const TDesC &aAccessPoint)

Set access point used in download process.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aAccessPointAccess point.

SetDownloadInfoL(const TArray< MNcdPurchaseDownloadInfo * > &)

IMPORT_C voidSetDownloadInfoL(const TArray< MNcdPurchaseDownloadInfo * > &aDownloadInfo)

Set download infos.

Parameters

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

SetDownloadedFiles(CDesCArray *)

IMPORT_C voidSetDownloadedFiles(CDesCArray *aDownloadedFiles)

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

Parameters

CDesCArray * aDownloadedFilesArray of file names. Ownership is transferred.

SetDownloadedFilesL(const MDesCArray &)

IMPORT_C voidSetDownloadedFilesL(const MDesCArray &aDownloadedFiles)

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

Exceptions
Leave

System wide error code.

Parameters

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

SetEntityId(HBufC *)

IMPORT_C voidSetEntityId(HBufC *aEntityId)

Set entity ID.

Parameters

HBufC * aEntityIdEntity ID. Ownership is transferred.

SetEntityIdL(const TDesC &)

IMPORT_C voidSetEntityIdL(const TDesC &aEntityId)

Set entity ID.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aEntityIdEntity ID.

SetFinalPrice(HBufC *)

IMPORT_C voidSetFinalPrice(HBufC *aFinalPrice)

Set final price.

Parameters

HBufC * aFinalPriceFinal price. Ownership is transferred.

SetFinalPriceL(const TDesC &)

IMPORT_C voidSetFinalPriceL(const TDesC &aFinalPrice)

Set final price.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aFinalPriceFinal price.

SetHasIcon(TBool)

IMPORT_C voidSetHasIcon(TBoolaHasIcon)

Setter for HasIcon flag.

Parameters

TBool aHasIconflag value.

SetIcon(HBufC8 *)

IMPORT_C voidSetIcon(HBufC8 *aIcon)

Set icon.

Parameters

HBufC8 * aIconIcon data. Ownership is transferred.

SetIconL(const TDesC8 &)

IMPORT_C voidSetIconL(const TDesC8 &aIcon)

Set icon.

Exceptions
Leave

System wide error code.

Parameters

const TDesC8 & aIconIcon data.

SetInstallInfoL(const TArray< MNcdPurchaseInstallInfo * > &)

IMPORT_C voidSetInstallInfoL(const TArray< MNcdPurchaseInstallInfo * > &aInstallInfo)

Set file installation infos.

Exceptions
Leave

System wide error code.

Parameters

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

SetItemName(HBufC *)

IMPORT_C voidSetItemName(HBufC *aItemName)

Set item name.

Parameters

HBufC * aItemNameItem name. Ownership is transferred.

SetItemNameL(const TDesC &)

IMPORT_C voidSetItemNameL(const TDesC &aItemName)

Set item name.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aItemNameItem name.

SetItemPurpose(TUint)

IMPORT_C voidSetItemPurpose(TUintaItemPurpose)

Set item purpose.

TNcdItemPurpose

Parameters

TUint aItemPurposeItem purpose. Bit field of TNcdItemPurpose flags.

SetItemType(TItemType)

IMPORT_C voidSetItemType(TItemTypeaItemType)

Set item type.

Parameters

TItemType aItemTypeItem type.

SetLastOperationErrorCode(TInt)

IMPORT_C voidSetLastOperationErrorCode(TIntaError)

Set the last operation error code.

Parameters

TInt aErrorThe error code.

SetLastOperationTime(const TTime &)

IMPORT_C voidSetLastOperationTime(const TTime &aTime)

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

Parameters

const TTime & aTimeThe universal time.

SetLastUniversalOperationTime()

IMPORT_C voidSetLastUniversalOperationTime()

Set the last operation time to the current universal time.

SetNamespace(HBufC *)

IMPORT_C voidSetNamespace(HBufC *aNamespace)

Set namespace.

Parameters

HBufC * aNamespaceNamespace. Ownership is transferred.

SetNamespaceL(const TDesC &)

IMPORT_C voidSetNamespaceL(const TDesC &aNamespace)

Set namespace.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aNamespaceNamespace.

SetOriginNodeId(HBufC *)

IMPORT_C voidSetOriginNodeId(HBufC *aOriginNodeId)

Set the origin node id.

Parameters

HBufC * aOriginNodeIdThe id.

SetOriginNodeIdL(const TDesC &)

IMPORT_C voidSetOriginNodeIdL(const TDesC &aOriginNodeId)

Set the origin node id.

Parameters

const TDesC & aOriginNodeIdThe id.

SetPaymentMethodName(HBufC *)

IMPORT_C voidSetPaymentMethodName(HBufC *aPaymentMethodName)

Set payment method name.

Parameters

HBufC * aPaymentMethodNamePayment method name. Ownership is transferred.

SetPaymentMethodNameL(const TDesC &)

IMPORT_C voidSetPaymentMethodNameL(const TDesC &aPaymentMethodName)

Set payment method name.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aPaymentMethodNamePayment method name.

SetPurchaseOptionId(HBufC *)

IMPORT_C voidSetPurchaseOptionId(HBufC *aPurchaseOptionId)

Set purchase option ID.

Parameters

HBufC * aPurchaseOptionIdPurchase option ID. Ownership is transferred.

SetPurchaseOptionIdL(const TDesC &)

IMPORT_C voidSetPurchaseOptionIdL(const TDesC &aPurchaseOptionId)

Set purchase option ID.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aPurchaseOptionIdPurchase option ID.

SetPurchaseOptionName(HBufC *)

IMPORT_C voidSetPurchaseOptionName(HBufC *aPurchaseOptionName)

Set purchase option name.

Parameters

HBufC * aPurchaseOptionNamePurchase option name. Ownership is transferred.

SetPurchaseOptionNameL(const TDesC &)

IMPORT_C voidSetPurchaseOptionNameL(const TDesC &aPurchaseOptionName)

Set purchase option name.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aPurchaseOptionNamePurchase option name.

SetPurchaseOptionPrice(HBufC *)

IMPORT_C voidSetPurchaseOptionPrice(HBufC *aPurchaseOptionPrice)

Set purchase option price.

Parameters

HBufC * aPurchaseOptionPricePurchase option price. Ownership is transferred.

SetPurchaseOptionPriceL(const TDesC &)

IMPORT_C voidSetPurchaseOptionPriceL(const TDesC &aPurchaseOptionPrice)

Set purchase option price.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aPurchaseOptionPricePurchase option price.

SetPurchaseTime(TTime)

IMPORT_C voidSetPurchaseTime(TTimeaPurchaseTime)

Set time of purchase.

Parameters

TTime aPurchaseTimePurchase time.

SetServerUri(HBufC *)

IMPORT_C voidSetServerUri(HBufC *aServerUri)

Set server URI.

Parameters

HBufC * aServerUriServer URI. Ownership is transferred.

SetServerUriL(const TDesC &)

IMPORT_C voidSetServerUriL(const TDesC &aServerUri)

Set server URI.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aServerUriServer URI.

SetTotalContentSize(TInt)

IMPORT_C voidSetTotalContentSize(TIntaSize)

Set the total content size.

Parameters

TInt aSizeThe size.

SetVersion(HBufC *)

IMPORT_C voidSetVersion(HBufC *aVersion)

Set version.

Parameters

HBufC * aVersionVersion. Ownership is transferred.

SetVersionL(const TDesC &)

IMPORT_C voidSetVersionL(const TDesC &aVersion)

Set version.

Exceptions
Leave

System wide error code.

Parameters

const TDesC & aVersionVersion.

State()

TStateState()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

TItemTypeiItemType[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]