CESMRAlarmInfoHandler Class Reference

class CESMRAlarmInfoHandler : public CBase

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

esmrservices.lib

Inherits from

Constructor & Destructor Documentation

CESMRAlarmInfoHandler()

CESMRAlarmInfoHandler ( ) [private]

~CESMRAlarmInfoHandler()

IMPORT_C ~CESMRAlarmInfoHandler ( )

C++ Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

GetAbsoluteAlarmTimeL(CCalEntry &, TTime &)

IMPORT_C void GetAbsoluteAlarmTimeL ( CCalEntry & aEntry,
TTime & aAbsoluteAlarmTime
)

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

Parameters

CCalEntry & aEntry Reference to calendar entry.
TTime & aAbsoluteAlarmTime On return contains absolute alarm time. KErrNotFound Absolute alarm cannot resolved.

GetAlarmInfoObjectL(const CCalEntry &, TESMRAlarmInfo &)

IMPORT_C void GetAlarmInfoObjectL ( const CCalEntry & aEntry,
TESMRAlarmInfo & aAlarmInfo
)

Fetches alarm information object matching alarm information in entry.

Parameters

const CCalEntry & aEntry Reference to calendar entry.
TESMRAlarmInfo & aAlarmInfo On 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 void ReadFromResourceL ( const TDesC & aResourceFile,
TInt aResouceId
)

Reads alarm information from resource file.

Parameters

const TDesC & aResourceFile Alarm inforamtion resource file name.
TInt aResouceId Resource id containing alarm info table.

Member Data Documentation

RArray< TESMRAlarmInfo > iAlarmInfos

RArray < TESMRAlarmInfo > iAlarmInfos [private]