CAgnTlsProxy Class Reference

class CAgnTlsProxy : public CBase

Class for accessing time zone converter, and caching time zone rules and modes.

This class is held in thread local storage in the Calendar client, server and shared DLLs so it can be accessed easily from anywhere.

Inherits from

Constructor & Destructor Documentation

CAgnTlsProxy()

CAgnTlsProxy()[private]

~CAgnTlsProxy()

~CAgnTlsProxy()[private]

Member Functions Documentation

AddSystemTimeObserverL(MAgnTzChangeObserver *)

IMPORT_C voidAddSystemTimeObserverL(MAgnTzChangeObserver *aObserver)

Parameters

MAgnTzChangeObserver * aObserver

ConstructL(TAgnTlsTzRulesType)

voidConstructL(TAgnTlsTzRulesTypeaTzRulesType)[private]

Parameters

TAgnTlsTzRulesType aTzRulesType

CreateL(TAgnTlsTzRulesType)

IMPORT_C CAgnTlsProxy *CreateL(TAgnTlsTzRulesTypeaTzRulesType)[static]

Parameters

TAgnTlsTzRulesType aTzRulesType

CurrentTzId()

TUint16 CurrentTzId()const

FixedTimeMode()

const TAgnCalendarFixedTimeMode &FixedTimeMode()const

FloatingTimeMode()

const TAgnCalendarFloatingTimeMode &FloatingTimeMode()const

GetCurrentSystemTzRulesL()

IMPORT_C CTzRules *GetCurrentSystemTzRulesL()

GetZoneForRulesL(const CTzRules &)

CTzRules *GetZoneForRulesL(const CTzRules &aRules)

Parameters

const CTzRules & aRules

HandleTzPropertyChangeL(NTzUpdate::TPropertyKeys)

voidHandleTzPropertyChangeL(NTzUpdate::TPropertyKeysaTzChangePropertyKey)

Parameters

NTzUpdate::TPropertyKeys aTzChangePropertyKey

NewL(TAgnTlsTzRulesType)

CAgnTlsProxy *NewL(TAgnTlsTzRulesTypeaTzRulesType)[private, static]

Parameters

TAgnTlsTzRulesType aTzRulesType

ReferenceRemoved(const CTzRules *)

voidReferenceRemoved(const CTzRules *aReference)

Parameters

const CTzRules * aReference

Release(TAny *)

IMPORT_C voidRelease(TAny *aRef)[static]

Parameters

TAny * aRef

RemoveSystemTimeObserver(MAgnTzChangeObserver *)

IMPORT_C voidRemoveSystemTimeObserver(MAgnTzChangeObserver *aObserver)

Parameters

MAgnTzChangeObserver * aObserver

TzServer()

IMPORT_C RTz &TzServer()

__dbgClearTzClientCacheL(TBool)

IMPORT_C void__dbgClearTzClientCacheL(TBoolaRestartCaching)

Parameters

TBool aRestartCaching

Member Enumerations Documentation

Enum TAgnTlsTzRulesType

Enumerators

TAgnTlsTzRulesType_None
TAgnTlsTzRulesType_Client
TAgnTlsTzRulesType_Server

Member Data Documentation

CAgnTzChangeObserver * iCurrentTzChangeObserver

CAgnTzChangeObserver *iCurrentTzChangeObserver[private]

TAgnCalendarFixedTimeMode * iFixedTimeMode

TAgnCalendarFixedTimeMode *iFixedTimeMode[private]

TAgnCalendarFloatingTimeMode * iFloatingTimeMode

TAgnCalendarFloatingTimeMode *iFloatingTimeMode[private]

RPointerArray< MAgnTzChangeObserver > iObservers

RPointerArray< MAgnTzChangeObserver >iObservers[private]

TInt iRefCount

TInt iRefCount[private]

CTzConverter * iTimeConverter

CTzConverter *iTimeConverter[private]

CAgnTlsTzRules * iTlsTzRules

CAgnTlsTzRules *iTlsTzRules[private]

CAgnTzChangeObserver * iTzRulesChangeObserver

CAgnTzChangeObserver *iTzRulesChangeObserver[private]

RTz iTzServer

RTz iTzServer[private]