CCalContent Class Reference

class CCalContent : public CBase

This class holds in memory 8-bit data of any type, or a link to 8-bit data such as a URI. The MIME type of the data may also be held to help callers determine the appropriate application to launch the content.

Because the data is held in memory, callers should only use this class to store small amounts of data or a URI to some content elsewhere.

This class can be used to set an alarm action using CCalAlarm::SetAlarmAction() (such as a link to an internet radio station, or a small animated icon).

CCalAlarm
capability
None

Inherits from

Constructor & Destructor Documentation

CCalContent()

CCalContent()[private]

~CCalContent()

IMPORT_C~CCalContent()

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Content()

IMPORT_C const TDesC8 &Content()const

Disposition()

IMPORT_C TDispositionDisposition()const

Impl()

CAgnContent *Impl()const

MimeType()

IMPORT_C const TDesC8 &MimeType()const

NewL()

IMPORT_C CCalContent *NewL()[static]

SetContentL(TDesC8 *, TDesC8 *, CCalContent::TDisposition)

IMPORT_C voidSetContentL(TDesC8 *aSmallContent,
TDesC8 *aContentMIMEType,
CCalContent::TDispositionaContentDisposition
)

Parameters

TDesC8 * aSmallContent
TDesC8 * aContentMIMEType
CCalContent::TDisposition aContentDisposition

SetImpl(CAgnContent *)

voidSetImpl(CAgnContent *aImpl)

Parameters

CAgnContent * aImpl

Member Enumerations Documentation

Enum TDisposition

Disposition of the data which maybe used while setting an alarm. The data can be a link or inline.

Enumerators

EDispositionUrl = 0

URL disposition

EDispositionInline = 1

Inline disposition

EDispositionUnknown = 15

Unknown disposition

Member Data Documentation

CAgnContent * iImpl

CAgnContent *iImpl[private]