CNcdPurchaseDownloadInfo Class Reference

class CNcdPurchaseDownloadInfo : public CBase

A default implementation for the MNcdPurchaseDownloadInfo interface.

ncdutils_20019119.dll

MNcdPurchaseDownloadInfo

Inherits from

Public Member Functions
~CNcdPurchaseDownloadInfo ()
IMPORT_C const TDesC & ActivationKey ()
IMPORT_C TInt32 AttributeInt32L (TDownloadAttribute)
IMPORT_C const TDesC & AttributeStringL (TDownloadAttribute)
IMPORT_C const TDesC & ContentMimeType ()
IMPORT_C TInt ContentSize ()
IMPORT_C const TDesC & ContentUri ()
IMPORT_C TContentUsage ContentUsage ()
IMPORT_C TInt ContentValidityDelta ()
IMPORT_C const TDesC8 & DescriptorData ()
IMPORT_C const TDesC & DescriptorName ()
IMPORT_C const TDesC & DescriptorType ()
IMPORT_C const TDesC & DescriptorUri ()
IMPORT_C void ExternalizeL ( RWriteStream &)
IMPORT_C const TDesC & InstallNotificationUri ()
IMPORT_C void InternalizeL ( RReadStream &)
IMPORT_C TBool IsLaunchable ()
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 void SetActivationKeyL (const TDesC &)
IMPORT_C void SetAttributeL (TDownloadAttribute, TInt32 )
IMPORT_C void SetAttributeL (TDownloadAttribute, const TDesC &)
IMPORT_C void SetContentMimeTypeL (const TDesC &)
IMPORT_C void SetContentSize ( TInt )
IMPORT_C void SetContentUriL (const TDesC &)
IMPORT_C void SetContentUsage (TContentUsage)
IMPORT_C void SetContentValidityDelta ( TInt )
IMPORT_C void SetDescriptorDataL (const TDesC8 &)
IMPORT_C void SetDescriptorNameL (const TDesC &)
IMPORT_C void SetDescriptorTypeL (const TDesC &)
IMPORT_C void SetDescriptorUriL (const TDesC &)
IMPORT_C void SetInstallNotificationUriL (const TDesC &)
IMPORT_C void SetLaunchable ( TBool )
IMPORT_C void SetRightsTypeL (const TDesC &)
IMPORT_C void SetRightsUriL (const TDesC &)
Protected Member Functions
CNcdPurchaseDownloadInfo ()
IMPORT_C void ConstructL ()
IMPORT_C void ConstructL (const MNcdPurchaseDownloadInfo &)
IMPORT_C 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
HBufC * iActivationKey
CNcdAttributes * iAttributes
HBufC * iContentMimeType
TInt iContentSize
HBufC * iContentUri
TContentUsage iContentUsage
HBufC8 * iDescriptorData
HBufC * iDescriptorName
HBufC * iDescriptorType
HBufC * iDescriptorUri
HBufC * iInstallNotificationUri
TBool iLaunchable
HBufC * iRightsType
HBufC * iRightsUri
TInt iValidityDelta

Constructor & Destructor Documentation

CNcdPurchaseDownloadInfo()

IMPORT_C CNcdPurchaseDownloadInfo ( ) [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 TInt32 AttributeInt32L ( TDownloadAttribute aAttribute ) const

MNcdDownloadInfo::AttributeInt32L

Parameters

TDownloadAttribute aAttribute

AttributeStringL(TDownloadAttribute)

IMPORT_C const TDesC & AttributeStringL ( TDownloadAttribute aAttribute ) const

MNcdDownloadInfo::AttributeStringL

Parameters

TDownloadAttribute aAttribute

ConstructL()

IMPORT_C void ConstructL ( ) [protected]

2nd phase constructor.

ConstructL(const MNcdPurchaseDownloadInfo &)

IMPORT_C void ConstructL ( 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 TInt ContentSize ( ) const

Gets the content size.

ContentUri()

IMPORT_C const TDesC & ContentUri ( ) const

Gets the content URI.

ContentUsage()

IMPORT_C TContentUsage ContentUsage ( ) const

Gets the content usage type.

ContentValidityDelta()

IMPORT_C TInt ContentValidityDelta ( ) const

Gets the content validity delta.

CreateAttributesL()

IMPORT_C void CreateAttributesL ( ) [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 void ExternalizeL ( RWriteStream & aStream ) const

Externalizer.

Parameters

RWriteStream & aStream Write stream.

InstallNotificationUri()

IMPORT_C const TDesC & InstallNotificationUri ( ) const

Gets the install notification URI.

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

Internalizer.

Parameters

RReadStream & aStream Read stream.

IsLaunchable()

IMPORT_C TBool IsLaunchable ( ) 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 & aSource Download 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 & aSource Download 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 void SetActivationKeyL ( const TDesC & aActivationKey )

Sets the activation key.

Parameters

const TDesC & aActivationKey Activation key.

SetAttributeL(TDownloadAttribute, TInt32)

IMPORT_C void SetAttributeL ( TDownloadAttribute aAttribute,
TInt32 aValue
)

Integer attribute setter

Parameters

TDownloadAttribute aAttribute
TInt32 aValue

SetAttributeL(TDownloadAttribute, const TDesC &)

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

String attribute setter

Parameters

TDownloadAttribute aAttribute
const TDesC & aValue

SetContentMimeTypeL(const TDesC &)

IMPORT_C void SetContentMimeTypeL ( const TDesC & aMimeType )

Sets the content mime type.

Parameters

const TDesC & aMimeType Content mime type.

SetContentSize(TInt)

IMPORT_C void SetContentSize ( TInt aSize )

Sets the content size.

Parameters

TInt aSize Content size.

SetContentUriL(const TDesC &)

IMPORT_C void SetContentUriL ( const TDesC & aUri )

Sets the content URI.

Parameters

const TDesC & aUri Content URI.

SetContentUsage(TContentUsage)

IMPORT_C void SetContentUsage ( TContentUsage aUsage )

Sets the content usage type.

Parameters

TContentUsage aUsage Content usage.

SetContentValidityDelta(TInt)

IMPORT_C void SetContentValidityDelta ( TInt aValidityDelta )

Sets the content validity delta.

Parameters

TInt aValidityDelta

SetDescriptorDataL(const TDesC8 &)

IMPORT_C void SetDescriptorDataL ( const TDesC8 & aData )

Sets the descriptor data.

Parameters

const TDesC8 & aData Descriptor data.

SetDescriptorNameL(const TDesC &)

IMPORT_C void SetDescriptorNameL ( const TDesC & aName )

Sets the descriptor name.

Parameters

const TDesC & aName Descriptor name.

SetDescriptorTypeL(const TDesC &)

IMPORT_C void SetDescriptorTypeL ( const TDesC & aType )

Sets the descriptor type.

Parameters

const TDesC & aType Descriptor type.

SetDescriptorUriL(const TDesC &)

IMPORT_C void SetDescriptorUriL ( const TDesC & aUri )

Sets the descriptor URI.

Parameters

const TDesC & aUri Descriptor URI.

SetInstallNotificationUriL(const TDesC &)

IMPORT_C void SetInstallNotificationUriL ( const TDesC & aInstallNotificationUri )

Sets the install notification URI.

Parameters

const TDesC & aInstallNotificationUri Install notification URI.

SetLaunchable(TBool)

IMPORT_C void SetLaunchable ( TBool aLaunchable )

Sets content launchable.

Parameters

TBool aLaunchable Launchable status.

SetRightsTypeL(const TDesC &)

IMPORT_C void SetRightsTypeL ( const TDesC & aType )

Sets the rights type.

Parameters

const TDesC & aType Rights type.

SetRightsUriL(const TDesC &)

IMPORT_C void SetRightsUriL ( const TDesC & aUri )

Sets the rights URI.

Parameters

const TDesC & aUri Rights 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

TContentUsage iContentUsage [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]