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).
capability
None
Public Member Functions | |
---|---|
~CCalContent() | |
IMPORT_C const TDesC8 & | Content() |
IMPORT_C TDisposition | Disposition() |
CAgnContent * | Impl() |
IMPORT_C const TDesC8 & | MimeType() |
IMPORT_C CCalContent * | NewL() |
IMPORT_C void | SetContentL(TDesC8 *, TDesC8 *, CCalContent::TDisposition) |
void | SetImpl(CAgnContent *) |
Private Member Functions | |
---|---|
CCalContent() | |
void | ConstructL() |
Public Member Enumerations | |
---|---|
enum | TDisposition { EDispositionUrl = 0, EDispositionInline = 1, EDispositionUnknown = 15 } |
Private Attributes | |
---|---|
CAgnContent * | iImpl |
IMPORT_C void | SetContentL | ( | TDesC8 * | aSmallContent, |
TDesC8 * | aContentMIMEType, | |||
CCalContent::TDisposition | aContentDisposition | |||
) |
TDesC8 * aSmallContent | |
TDesC8 * aContentMIMEType | |
CCalContent::TDisposition aContentDisposition |
Disposition of the data which maybe used while setting an alarm. The data can be a link or inline.
EDispositionUrl = 0 |
URL disposition |
EDispositionInline = 1 |
Inline disposition |
EDispositionUnknown = 15 |
Unknown disposition |