![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
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(CCalContent *)
(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 ...
Defined in CCalContent
:
Content()const
Gets the data set by CCalContent::SetContentL(TDesC8 *,TDesC8 *,CCalContent::TDi...Disposition()const
Gets the disposition set by CCalContent::SetContentL(TDesC8 *,TDesC8 *,CCalConte...MimeType()const
Gets the MIME type set by CCalContent::SetContentL(TDesC8 *,TDesC8 *,CCalContent...NewL()
Constructor. ~CCalContent()
Destructor. Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...CCalAlarm
Class representing an alarm. contains associated data extensionsIMPORT_C static 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(TDesC8 *,TDesC8 *,CCalContent::TDisposition)
.
|
IMPORT_C const TDesC8& MimeType() const;
Gets the MIME type set by CCalContent::SetContentL(TDesC8 *,TDesC8 *,CCalContent::TDisposition)
.
|
IMPORT_C TDisposition Disposition() const;
Gets the disposition set by CCalContent::SetContentL(TDesC8 *,TDesC8 *,CCalContent::TDisposition)
.
|