CCalContent Class Reference

#include <app/calcontent.h>

Link against: esmrentry.lib

class CCalContent : public CBase

Inherits from

  • CCalContent

    Detailed Description

    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).

    See also: CCalAlarm

    capability
    None

    Member Enumeration Documentation

    Enum TDisposition

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

    EnumeratorValueDescription
    EDispositionUrl0

    URL disposition

    EDispositionInline1

    Inline disposition

    EDispositionUnknown15

    Unknown disposition

    Constructor & Destructor Documentation

    ~CCalContent ( )

    IMPORT_C~CCalContent()

    Member Function Documentation

    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
    )

    SetImpl ( CAgnContent * )

    voidSetImpl(CAgnContent *aImpl)