DRM::CDrmAutomatedUsageData Class Reference

class DRM::CDrmAutomatedUsageData : public CBase

DRM Automated Usage Data storage class

parameter container class used by DRM::CDrmAutomatedUsageImpl

drmautomatedusageimpl.lib

Inherits from

  • DRM::CDrmAutomatedUsageData
Public Member Functions
~CDrmAutomatedUsageData()
CDrmAutomatedUsageData *NewL(const ContentAccess::CData &, ContentAccess::TIntent, TDrmAutomatedType, MDrmAsyncObserver *, TDrmAutomatedServiceType, TOperation)
CDrmAutomatedUsageData *NewL(const TDesC &, ContentAccess::TIntent, TDrmAutomatedType, MDrmAsyncObserver *, TDrmAutomatedServiceType, TOperation)
CDrmAutomatedUsageData *NewLC(const ContentAccess::CData &, ContentAccess::TIntent, TDrmAutomatedType, MDrmAsyncObserver *, TDrmAutomatedServiceType, TOperation)
CDrmAutomatedUsageData *NewLC(const TDesC &, ContentAccess::TIntent, TDrmAutomatedType, MDrmAsyncObserver *, TDrmAutomatedServiceType, TOperation)
Private Member Functions
CDrmAutomatedUsageData(ContentAccess::TIntent, TDrmAutomatedType, MDrmAsyncObserver *, TDrmAutomatedServiceType, TOperation)
CDrmAutomatedUsageData(const CDrmAutomatedUsageData &)
voidConstructL(const ContentAccess::CData &)
voidConstructL(const TDesC &)
voidSetOperationId()
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()
Public Member Enumerations
enumTOperation { ESetAutomated, ERemoveAutomated, EHandeError }
Public Attributes
TDrmAutomatedType iAutomatedType
ContentAccess::TIntent iIntent
MDrmAsyncObserver *iObserver
TOperation iOperation
TInt iOperationId
TDrmAutomatedServiceType iServiceType
HBufC16 *iUniqueId
HBufC8 *iUniqueId8

Constructor & Destructor Documentation

CDrmAutomatedUsageData(ContentAccess::TIntent, TDrmAutomatedType, MDrmAsyncObserver *, TDrmAutomatedServiceType, TOperation)

CDrmAutomatedUsageData(ContentAccess::TIntentaIntent,
TDrmAutomatedTypeaAutomatedType,
MDrmAsyncObserver *aObserver,
TDrmAutomatedServiceTypeaServiceType,
TOperationaOperation
)[private]

C++ default constructor.

Parameters

ContentAccess::TIntent aIntent
TDrmAutomatedType aAutomatedType
MDrmAsyncObserver * aObserver
TDrmAutomatedServiceType aServiceType
TOperation aOperation

CDrmAutomatedUsageData(const CDrmAutomatedUsageData &)

CDrmAutomatedUsageData(const CDrmAutomatedUsageData &)[private]

C++ copy constructor.

Parameters

const CDrmAutomatedUsageData &

~CDrmAutomatedUsageData()

~CDrmAutomatedUsageData()

Destructor.

Member Functions Documentation

ConstructL(const ContentAccess::CData &)

voidConstructL(const ContentAccess::CData &aData)[private]

2nd phase constructor

Parameters

const ContentAccess::CData & aData

ConstructL(const TDesC &)

voidConstructL(const TDesC &aUniqueId)[private]

Parameters

const TDesC & aUniqueId

NewL(const ContentAccess::CData &, ContentAccess::TIntent, TDrmAutomatedType, MDrmAsyncObserver *, TDrmAutomatedServiceType, TOperation)

CDrmAutomatedUsageData *NewL(const ContentAccess::CData &aData,
ContentAccess::TIntentaIntent,
TDrmAutomatedTypeaAutomatedType,
MDrmAsyncObserver *aObserver,
TDrmAutomatedServiceTypeaServiceType,
TOperationaOperation
)[static]

Creates a new CDrmAutomatedUsageData -object

Since
S60 5.0
leave
System wide or DRM specific error code

Parameters

const ContentAccess::CData & aData
ContentAccess::TIntent aIntent
TDrmAutomatedType aAutomatedType
MDrmAsyncObserver * aObserver
TDrmAutomatedServiceType aServiceType
TOperation aOperation

NewL(const TDesC &, ContentAccess::TIntent, TDrmAutomatedType, MDrmAsyncObserver *, TDrmAutomatedServiceType, TOperation)

CDrmAutomatedUsageData *NewL(const TDesC &aUniqueId,
ContentAccess::TIntentaIntent,
TDrmAutomatedTypeaAutomatedType,
MDrmAsyncObserver *aObserver,
TDrmAutomatedServiceTypeaServiceType,
TOperationaOperation
)[static]

Creates a new CDrmAutomatedUsageData -object

Since
S60 5.0
leave
System wide or DRM specific error code

Parameters

const TDesC & aUniqueId
ContentAccess::TIntent aIntent
TDrmAutomatedType aAutomatedType
MDrmAsyncObserver * aObserver
TDrmAutomatedServiceType aServiceType
TOperation aOperation

NewLC(const ContentAccess::CData &, ContentAccess::TIntent, TDrmAutomatedType, MDrmAsyncObserver *, TDrmAutomatedServiceType, TOperation)

CDrmAutomatedUsageData *NewLC(const ContentAccess::CData &aData,
ContentAccess::TIntentaIntent,
TDrmAutomatedTypeaAutomatedType,
MDrmAsyncObserver *aObserver,
TDrmAutomatedServiceTypeaServiceType,
TOperationaOperation
)[static]

Creates a new CDrmAutomatedUsageData -object and leaves it into the cleanup stack

Since
S60 5.0
leave
System wide or DRM specific error code

Parameters

const ContentAccess::CData & aData
ContentAccess::TIntent aIntent
TDrmAutomatedType aAutomatedType
MDrmAsyncObserver * aObserver
TDrmAutomatedServiceType aServiceType
TOperation aOperation

NewLC(const TDesC &, ContentAccess::TIntent, TDrmAutomatedType, MDrmAsyncObserver *, TDrmAutomatedServiceType, TOperation)

CDrmAutomatedUsageData *NewLC(const TDesC &aUniqueId,
ContentAccess::TIntentaIntent,
TDrmAutomatedTypeaAutomatedType,
MDrmAsyncObserver *aObserver,
TDrmAutomatedServiceTypeaServiceType,
TOperationaOperation
)[static]

Creates a new CDrmAutomatedUsageData -object and leaves it into the cleanup stack

Since
S60 5.0
leave
System wide or DRM specific error code

Parameters

const TDesC & aUniqueId
ContentAccess::TIntent aIntent
TDrmAutomatedType aAutomatedType
MDrmAsyncObserver * aObserver
TDrmAutomatedServiceType aServiceType
TOperation aOperation

SetOperationId()

voidSetOperationId()[private]

Initialises operationId to unique value.

Member Enumerations Documentation

Enum TOperation

Possible operations for atuomated content relresented by object of this class

Enumerators

ESetAutomated
ERemoveAutomated
EHandeError

Member Data Documentation

TDrmAutomatedType iAutomatedType

TDrmAutomatedType iAutomatedType

ContentAccess::TIntent iIntent

ContentAccess::TIntent iIntent

MDrmAsyncObserver * iObserver

MDrmAsyncObserver *iObserver

TOperation iOperation

TOperation iOperation

TInt iOperationId

TInt iOperationId

TDrmAutomatedServiceType iServiceType

TDrmAutomatedServiceType iServiceType

HBufC16 * iUniqueId

HBufC16 *iUniqueId

HBufC8 * iUniqueId8

HBufC8 *iUniqueId8