CESMRAlarmInfoHandler Class Reference

class CESMRAlarmInfoHandler : public CBase

CESMRAlarmInfoHandler is responsible for handling alarm related issues for calendar entry.

esmrservices.lib

Inherits from

  • CESMRAlarmInfoHandler

Constructor & Destructor Documentation

CESMRAlarmInfoHandler()

CESMRAlarmInfoHandler()[private]

~CESMRAlarmInfoHandler()

IMPORT_C~CESMRAlarmInfoHandler()

C++ Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

GetAbsoluteAlarmTimeL(CCalEntry &, TTime &)

IMPORT_C voidGetAbsoluteAlarmTimeL(CCalEntry &aEntry,
TTime &aAbsoluteAlarmTime
)

Fetches absolute alarm time from calendar entry. Absolute alarm time is returned in local time.

Parameters

CCalEntry & aEntryReference to calendar entry.
TTime & aAbsoluteAlarmTimeOn return contains absolute alarm time. KErrNotFound Absolute alarm cannot resolved.

GetAlarmInfoObjectL(const CCalEntry &, TESMRAlarmInfo &)

IMPORT_C voidGetAlarmInfoObjectL(const CCalEntry &aEntry,
TESMRAlarmInfo &aAlarmInfo
)

Fetches alarm information object matching alarm information in entry.

Parameters

const CCalEntry & aEntryReference to calendar entry.
TESMRAlarmInfo & aAlarmInfoOn return contains fetched alarm information object. KErrNotFound Alarm info object cannot be resolved.

NewL()

IMPORT_C CESMRAlarmInfoHandler *NewL()[static]

Two-phased constructor. Creates and initializes CESMRAlarmInfoHandler object. Ownership transferred to caller.

NewLC()

IMPORT_C CESMRAlarmInfoHandler *NewLC()[static]

Two-phased constructor. Creates and initializes CESMRAlarmInfoHandler object. Ownership transferred to caller and created object is left to cleanup stack.

ReadFromResourceL(const TDesC &, TInt)

IMPORT_C voidReadFromResourceL(const TDesC &aResourceFile,
TIntaResouceId
)

Reads alarm information from resource file.

Parameters

const TDesC & aResourceFileAlarm inforamtion resource file name.
TInt aResouceIdResource id containing alarm info table.

Member Data Documentation

RArray< TESMRAlarmInfo > iAlarmInfos

RArray< TESMRAlarmInfo >iAlarmInfos[private]