UIQ Technology
 Developer Library

UIQ 3 SDK

UIQ developer portal

FEEDBACK 

[Index] [Spacer] [Previous] [Next]



Location: AgnICal.h
Link against: qicalagendaconv.lib

Class CAgnICalConverter

class CAgnICalConverter : public CBase;

Description

Converts calendar entry to iCalendar data

Derivation

Members

Defined in CAgnICalConverter:
ExportICalL(), ImportICalL(), ImportICalL(), NewL(), ~CAgnICalConverter()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

static IMPORT_C CAgnICalConverter *NewL();

Description

Standard two-phase constructor

Return value

CAgnICalConverter *

Fully constructed CICalMailData object


~CAgnICalConverter()

virtual IMPORT_C ~CAgnICalConverter();

Description

Destructor

[Top]


Member functions


ImportICalL()

IMPORT_C void ImportICalL(RReadStream &aReadStream, CArrayPtr< CCalEntry > *aEntryArray, const TUint aCharSetId=KCharacterSetIdentifierUtf8);

Description

Imports a iCalendar consisting of one or more vCalendar entities. The iCalendar is read from the read stream specified and its entities are converted into EPOC agenda entries and returned in the array aEntryArray .

Parameters

RReadStream &aReadStream

The read stream which contains the vCalendar .

CArrayPtr< CCalEntry > *aEntryArray

On return, a list of the agenda entries which were imported from the iCalendar . The list contains the vEvents followed by the vTodos .

const TUint aCharSetId

The characterset to use.


ImportICalL()

IMPORT_C void ImportICalL(CICalParserBase &aParser, CArrayPtr< CCalEntry > *aEntryArray, const TUint aCharSetId=KCharacterSetIdentifierUtf8);

Description

Imports a iCalendar consisting of one or more iCalendar entities.

The iCalendar is read from the read stream specified and its entities are converted into EPOC agenda entries and returned in the array aEntryArray .

Parameters

CICalParserBase &aParser

The parser object contains the iCalendar objects.

CArrayPtr< CCalEntry > *aEntryArray

On return, a list of the agenda entries which were imported from the iCalendar . The list contains the vEvents followed by the vTodos .

const TUint aCharSetId

The characterset to use.


ExportICalL()

IMPORT_C void ExportICalL(RWriteStream &aWriteStream, const CArrayPtr< CCalEntry > *aEntryArray, const TUint aCharSetId=KCharacterSetIdentifierUtf8);

Description

Exports a list of agenda entries as multiple iCalendar entities to the write stream specified.

The entries are exported either as vTodos, if they are to-dos, otherwise as vEvents

Parameters

RWriteStream &aWriteStream

The stream to which the agenda entries should be externalised as vCalendar entities.

const CArrayPtr< CCalEntry > *aEntryArray

Pointer to the array of agenda entries.

const TUint aCharSetId

The character encoding type

Terms and conditions of use of the material