CNcdPurchaseDownloadInfo Class Reference

class CNcdPurchaseDownloadInfo : public CBase

A default implementation for the MNcdPurchaseDownloadInfo interface.

ncdutils_20019119.dll

MNcdPurchaseDownloadInfo

Inherits from

  • CNcdPurchaseDownloadInfo
Public Member Functions
~CNcdPurchaseDownloadInfo()
IMPORT_C const TDesC &ActivationKey()
IMPORT_C TInt32AttributeInt32L(TDownloadAttribute)
IMPORT_C const TDesC &AttributeStringL(TDownloadAttribute)
IMPORT_C const TDesC &ContentMimeType()
IMPORT_C TIntContentSize()
IMPORT_C const TDesC &ContentUri()
IMPORT_C TContentUsageContentUsage()
IMPORT_C TIntContentValidityDelta()
IMPORT_C const TDesC8 &DescriptorData()
IMPORT_C const TDesC &DescriptorName()
IMPORT_C const TDesC &DescriptorType()
IMPORT_C const TDesC &DescriptorUri()
IMPORT_C voidExternalizeL(RWriteStream &)
IMPORT_C const TDesC &InstallNotificationUri()
IMPORT_C voidInternalizeL(RReadStream &)
IMPORT_C TBoolIsLaunchable()
IMPORT_C CNcdPurchaseDownloadInfo *NewL()
IMPORT_C CNcdPurchaseDownloadInfo *NewL(const MNcdPurchaseDownloadInfo &)
IMPORT_C CNcdPurchaseDownloadInfo *NewLC()
IMPORT_C CNcdPurchaseDownloadInfo *NewLC(const MNcdPurchaseDownloadInfo &)
IMPORT_C const TDesC &RightsType()
IMPORT_C const TDesC &RightsUri()
IMPORT_C voidSetActivationKeyL(const TDesC &)
IMPORT_C voidSetAttributeL(TDownloadAttribute, TInt32)
IMPORT_C voidSetAttributeL(TDownloadAttribute, const TDesC &)
IMPORT_C voidSetContentMimeTypeL(const TDesC &)
IMPORT_C voidSetContentSize(TInt)
IMPORT_C voidSetContentUriL(const TDesC &)
IMPORT_C voidSetContentUsage(TContentUsage)
IMPORT_C voidSetContentValidityDelta(TInt)
IMPORT_C voidSetDescriptorDataL(const TDesC8 &)
IMPORT_C voidSetDescriptorNameL(const TDesC &)
IMPORT_C voidSetDescriptorTypeL(const TDesC &)
IMPORT_C voidSetDescriptorUriL(const TDesC &)
IMPORT_C voidSetInstallNotificationUriL(const TDesC &)
IMPORT_C voidSetLaunchable(TBool)
IMPORT_C voidSetRightsTypeL(const TDesC &)
IMPORT_C voidSetRightsUriL(const TDesC &)
Protected Member Functions
CNcdPurchaseDownloadInfo()
IMPORT_C voidConstructL()
IMPORT_C voidConstructL(const MNcdPurchaseDownloadInfo &)
IMPORT_C 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
HBufC *iActivationKey
CNcdAttributes *iAttributes
HBufC *iContentMimeType
TInt iContentSize
HBufC *iContentUri
TContentUsageiContentUsage
HBufC8 *iDescriptorData
HBufC *iDescriptorName
HBufC *iDescriptorType
HBufC *iDescriptorUri
HBufC *iInstallNotificationUri
TBool iLaunchable
HBufC *iRightsType
HBufC *iRightsUri
TInt iValidityDelta

Constructor & Destructor Documentation

CNcdPurchaseDownloadInfo()

IMPORT_CCNcdPurchaseDownloadInfo()[protected]

Constructor.

~CNcdPurchaseDownloadInfo()

IMPORT_C~CNcdPurchaseDownloadInfo()[virtual]

Destructor. Because a class object outside of this library may be inherited from this class, this virtual destructor is also set to IMPORT_C.

Member Functions Documentation

ActivationKey()

IMPORT_C const TDesC &ActivationKey()const

Gets the activation key.

AttributeInt32L(TDownloadAttribute)

IMPORT_C TInt32AttributeInt32L(TDownloadAttributeaAttribute)const

MNcdDownloadInfo::AttributeInt32L

Parameters

TDownloadAttribute aAttribute

AttributeStringL(TDownloadAttribute)

IMPORT_C const TDesC &AttributeStringL(TDownloadAttributeaAttribute)const

MNcdDownloadInfo::AttributeStringL

Parameters

TDownloadAttribute aAttribute

ConstructL()

IMPORT_C voidConstructL()[protected]

2nd phase constructor.

ConstructL(const MNcdPurchaseDownloadInfo &)

IMPORT_C voidConstructL(const MNcdPurchaseDownloadInfo &aSource)[protected]

Alternative 2nd phase constructor.

Parameters

const MNcdPurchaseDownloadInfo & aSource

ContentMimeType()

IMPORT_C const TDesC &ContentMimeType()const

Gets the content mime type.

ContentSize()

IMPORT_C TIntContentSize()const

Gets the content size.

ContentUri()

IMPORT_C const TDesC &ContentUri()const

Gets the content URI.

ContentUsage()

IMPORT_C TContentUsageContentUsage()const

Gets the content usage type.

ContentValidityDelta()

IMPORT_C TIntContentValidityDelta()const

Gets the content validity delta.

CreateAttributesL()

IMPORT_C voidCreateAttributesL()[protected]

Creates attributes if they haven't been created yet

DescriptorData()

IMPORT_C const TDesC8 &DescriptorData()const

Gets the descriptor data.

DescriptorName()

IMPORT_C const TDesC &DescriptorName()const

Gets the descriptor name.

DescriptorType()

IMPORT_C const TDesC &DescriptorType()const

Gets the descriptor type.

DescriptorUri()

IMPORT_C const TDesC &DescriptorUri()const

Gets the descriptor URI.

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalizer.

Parameters

RWriteStream & aStreamWrite stream.

InstallNotificationUri()

IMPORT_C const TDesC &InstallNotificationUri()const

Gets the install notification URI.

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Internalizer.

Parameters

RReadStream & aStreamRead stream.

IsLaunchable()

IMPORT_C TBoolIsLaunchable()const

Is content launchable.

NewL()

IMPORT_C CNcdPurchaseDownloadInfo *NewL()[static]

Constructor.

NewL(const MNcdPurchaseDownloadInfo &)

IMPORT_C CNcdPurchaseDownloadInfo *NewL(const MNcdPurchaseDownloadInfo &aSource)[static]

Copies and returns new download information.

Parameters

const MNcdPurchaseDownloadInfo & aSourceDownload information to be copied.

NewLC()

IMPORT_C CNcdPurchaseDownloadInfo *NewLC()[static]

Constructor.

NewLC(const MNcdPurchaseDownloadInfo &)

IMPORT_C CNcdPurchaseDownloadInfo *NewLC(const MNcdPurchaseDownloadInfo &aSource)[static]

Copies and returns new download information.

Parameters

const MNcdPurchaseDownloadInfo & aSourceDownload information to be copied.

RightsType()

IMPORT_C const TDesC &RightsType()const

Gets the rights type.

RightsUri()

IMPORT_C const TDesC &RightsUri()const

Gets the rights URI.

SetActivationKeyL(const TDesC &)

IMPORT_C voidSetActivationKeyL(const TDesC &aActivationKey)

Sets the activation key.

Parameters

const TDesC & aActivationKeyActivation key.

SetAttributeL(TDownloadAttribute, TInt32)

IMPORT_C voidSetAttributeL(TDownloadAttributeaAttribute,
TInt32aValue
)

Integer attribute setter

Parameters

TDownloadAttribute aAttribute
TInt32 aValue

SetAttributeL(TDownloadAttribute, const TDesC &)

IMPORT_C voidSetAttributeL(TDownloadAttributeaAttribute,
const TDesC &aValue
)

String attribute setter

Parameters

TDownloadAttribute aAttribute
const TDesC & aValue

SetContentMimeTypeL(const TDesC &)

IMPORT_C voidSetContentMimeTypeL(const TDesC &aMimeType)

Sets the content mime type.

Parameters

const TDesC & aMimeTypeContent mime type.

SetContentSize(TInt)

IMPORT_C voidSetContentSize(TIntaSize)

Sets the content size.

Parameters

TInt aSizeContent size.

SetContentUriL(const TDesC &)

IMPORT_C voidSetContentUriL(const TDesC &aUri)

Sets the content URI.

Parameters

const TDesC & aUriContent URI.

SetContentUsage(TContentUsage)

IMPORT_C voidSetContentUsage(TContentUsageaUsage)

Sets the content usage type.

Parameters

TContentUsage aUsageContent usage.

SetContentValidityDelta(TInt)

IMPORT_C voidSetContentValidityDelta(TIntaValidityDelta)

Sets the content validity delta.

Parameters

TInt aValidityDelta

SetDescriptorDataL(const TDesC8 &)

IMPORT_C voidSetDescriptorDataL(const TDesC8 &aData)

Sets the descriptor data.

Parameters

const TDesC8 & aDataDescriptor data.

SetDescriptorNameL(const TDesC &)

IMPORT_C voidSetDescriptorNameL(const TDesC &aName)

Sets the descriptor name.

Parameters

const TDesC & aNameDescriptor name.

SetDescriptorTypeL(const TDesC &)

IMPORT_C voidSetDescriptorTypeL(const TDesC &aType)

Sets the descriptor type.

Parameters

const TDesC & aTypeDescriptor type.

SetDescriptorUriL(const TDesC &)

IMPORT_C voidSetDescriptorUriL(const TDesC &aUri)

Sets the descriptor URI.

Parameters

const TDesC & aUriDescriptor URI.

SetInstallNotificationUriL(const TDesC &)

IMPORT_C voidSetInstallNotificationUriL(const TDesC &aInstallNotificationUri)

Sets the install notification URI.

Parameters

const TDesC & aInstallNotificationUriInstall notification URI.

SetLaunchable(TBool)

IMPORT_C voidSetLaunchable(TBoolaLaunchable)

Sets content launchable.

Parameters

TBool aLaunchableLaunchable status.

SetRightsTypeL(const TDesC &)

IMPORT_C voidSetRightsTypeL(const TDesC &aType)

Sets the rights type.

Parameters

const TDesC & aTypeRights type.

SetRightsUriL(const TDesC &)

IMPORT_C voidSetRightsUriL(const TDesC &aUri)

Sets the rights URI.

Parameters

const TDesC & aUriRights URI.

Member Data Documentation

HBufC * iActivationKey

HBufC *iActivationKey[private]

CNcdAttributes * iAttributes

CNcdAttributes *iAttributes[private]

HBufC * iContentMimeType

HBufC *iContentMimeType[private]

TInt iContentSize

TInt iContentSize[private]

HBufC * iContentUri

HBufC *iContentUri[private]

TContentUsage iContentUsage

TContentUsageiContentUsage[private]

HBufC8 * iDescriptorData

HBufC8 *iDescriptorData[private]

HBufC * iDescriptorName

HBufC *iDescriptorName[private]

HBufC * iDescriptorType

HBufC *iDescriptorType[private]

HBufC * iDescriptorUri

HBufC *iDescriptorUri[private]

HBufC * iInstallNotificationUri

HBufC *iInstallNotificationUri[private]

TBool iLaunchable

TBool iLaunchable[private]

HBufC * iRightsType

HBufC *iRightsType[private]

HBufC * iRightsUri

HBufC *iRightsUri[private]

TInt iValidityDelta

TInt iValidityDelta[private]