CDRMEventAddRemove Class Reference

class CDRMEventAddRemove : public MDRMEvent

DRM Rights Object notication event class Used as data structure in the notification service

DRMCommon.dll
Since
S60Rel2.6

Inherits from

Constructor & Destructor Documentation

CDRMEventAddRemove(TAddRemoveEventStatus)

CDRMEventAddRemove(TAddRemoveEventStatusaStatus)[private]

Constructor

Parameters

TAddRemoveEventStatus aStatusthe status of the event as TAddRemoveEventStatus

CDRMEventAddRemove(void)

CDRMEventAddRemove(void)[private]

C++ default constructor.

Parameters

void

CDRMEventAddRemove(const CDRMEventAddRemove &)

CDRMEventAddRemove(const CDRMEventAddRemove &)[private]

Parameters

const CDRMEventAddRemove &

~CDRMEventAddRemove()

IMPORT_C~CDRMEventAddRemove()[virtual]

Destructor

Member Functions Documentation

ConstructL()

voidConstructL()[private]

First Phase constructor

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aOutput)[virtual]

ExternalizeL

Writes the objects data into a stream

Since
S60Rel2.6

Parameters

RWriteStream & aOutput: an output stream where to write

GetContentIDL()

IMPORT_C HBufC8 *GetContentIDL()const [virtual]

GetContentIDL

Returns a pointer to newly reserved buffer that containts the content id. The caller must free the memory.

Since
S60Rel2.6

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aInput)[virtual]

InternalizeL

Reads the objects data from a stream

Since
S60Rel2.6

Parameters

RReadStream & aInput: an input stream where to read from

NewL(TAddRemoveEventStatus)

IMPORT_C CDRMEventAddRemove *NewL(TAddRemoveEventStatusaStatus)[static]

NewL

Creates and instance of the CDRMEventAddRemove class and returns a pointer to it

Since
S60Rel3.0

Parameters

TAddRemoveEventStatus aStatus

NewLC(TAddRemoveEventStatus)

IMPORT_C CDRMEventAddRemove *NewLC(TAddRemoveEventStatusaStatus)[static]

NewLC

Creates and instance of the CDRMEventAddRemove class and returns a pointer to it Leaves the object in the cleanup stack

Since
S60Rel3.0

Parameters

TAddRemoveEventStatus aStatus

SetContentIDL(const TDesC8 &)

IMPORT_C voidSetContentIDL(const TDesC8 &aContentID)[virtual]

SetContentIDL

Sets the content id of the object and leaves if an error occurs

Since
S60Rel2.6

Parameters

const TDesC8 & aContentID: Descriptor containing the content id

Status()

IMPORT_C TAddRemoveEventStatusStatus()const [virtual]

Status

Returns the Rights Object event status

Since
S60Rel2.6

operator=(const CDRMEventAddRemove &)

CDRMEventAddRemove &operator=(const CDRMEventAddRemove &)[private]

Parameters

const CDRMEventAddRemove &

Member Data Documentation

HBufC8 * iContentID

HBufC8 *iContentID[private]

TAddRemoveEventStatus iStatus

TAddRemoveEventStatus iStatus[private]