Location:
calcontent.h
Link against: calinterimapi.lib
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).
CBase
- Base class for all classes to be instantiated on the heap
CCalContent
- This class holds in memory 8-bit data of any type, or a link to 8-bit data such as a URI
Defined in CCalContent
:
Content()
, Disposition()
, MimeType()
, NewL()
, SetContentL()
, ~CCalContent()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CCalContent *NewL();
Constructor.
|
IMPORT_C void SetContentL(TDesC8 *aSmallContent, TDesC8 *aContentMIMEType, CCalContent::TDisposition aContentDisposition);
Takes ownership of the data or link to data.
A NULL pointer may be passed to this function as an argument if the caller does not want to specify a parameter. Any data or its MIME type already owned by this class will be deleted first.
|
IMPORT_C const TDesC8 &Content() const;
Gets the data set by CCalContent::SetContentL()
.
|
IMPORT_C const TDesC8 &MimeType() const;
Gets the MIME type set by CCalContent::SetContentL()
.
|
IMPORT_C TDisposition Disposition() const;
Gets the disposition set by CCalContent::SetContentL()
.
|