CCalSessionImpl Class Reference

class CCalSessionImpl : public CBase

Inherits from

Public Member Functions
~CCalSessionImpl()
CCalAsyncTaskManager &AsyncTaskManager()
CCalCalendarInfo *CalendarInfoL()
TCalCollectionId CollectionId()
voidCreateCalFileL(const TDesC &)
voidCreateCalFileL(const TDesC &, const CCalCalendarInfo &)
CAgnSimpleEntry *CreateDumySimpleEntryL()
voidDecrementReferenceCount()
const TDesC &DefaultFileNameL()
voidDeleteCalFileL(const TDesC &)
voidDeleteSimpleEntry(CAgnSimpleEntry *)
voidDisableChangeBroadcast()
voidDisablePubSubNotificationsL()
voidEnableChangeBroadcast()
voidEnablePubSubNotificationsL()
TInt64 FileId()
voidFileIdL(TCalFileId &)
const TDesC &FileName()
voidGetFileNameL(TCalPubSubData, TDes &)
CAgnSimpleEntry *GetSimpleEntryFromServerL(const TAgnInstance &)
CAgnSimpleEntry *GetSimpleEntryFromServerL(TUint32)
voidIncrementReferenceCount()
TBool IsFileNameL(TCalPubSubData, const TDesC &)
TBool IsOpenedFileL(TCalPubSubData)
CDesCArray *ListCalFilesL()
CCalSessionImpl *NewL()
CCalSessionImpl *NewL(CCalSessionImpl &)
voidOpenL(const TDesC &, CalCommon::TCalFileVersionSupport &)
voidReportChangeL(TInt)
RAgendaServ &Server()
TInt SessionId()
voidSetCalendarInfoL(const CCalCalendarInfo &)
voidStartChangeNotificationL(MCalChangeCallBack *, MCalChangeCallBack::TChangeEntryType, TBool, TTime, TTime)
voidStartChangeNotificationL(MCalChangeCallBack2 &, const CCalChangeNotificationFilter &)
voidStartFileChangeNotificationL(MCalFileChangeObserver &)
voidStopChangeNotification()
voidStopFileChangeNotification()
TTime TzRulesLastModifiedDateL()
TInt _DebugRequestAllocatedCellsL()
TInt _DebugRequestAllocatedHeapSizeL()
void_DebugSetHeapFailL(RAllocator::TAllocFail, TInt)
void__dbgClearTzClientCacheL(TBool)
Private Member Functions
CCalSessionImpl()
voidConstructL()
voidConstructL(CCalSessionImpl &)
voidEntryHasChangedL(RArray< TCalChangeEntry > &)
voidSetCalendarInfoL(const TDesC &, const CCalCalendarInfo &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Member Enumerations
enumTPubSubChange { ENoChange = 0x00, ETodoChanged = 0x01, EEventChanged = 0x10 }
Private Attributes
CAgnChangeReporter *iAgnChangeReporter
RAgendaServ *iAgnServer
CCalAsyncTaskManager *iCalAsyncTaskManager
MCalProgressCallBack *iCallBack
MCalChangeCallBack *iChangeCallBack
MCalChangeCallBack2 *iChangeObserver
TCalCollectionId iCollectionId
MCalFileChangeObserver *iFileChangeObserver
TCalFileId iFileId
HBufC *iFileName
TInt iReferenceCount
TInt iSessionId

Constructor & Destructor Documentation

CCalSessionImpl()

CCalSessionImpl()[private]

~CCalSessionImpl()

~CCalSessionImpl()

Member Functions Documentation

AsyncTaskManager()

CCalAsyncTaskManager &AsyncTaskManager()

CalendarInfoL()

CCalCalendarInfo *CalendarInfoL()const

CollectionId()

TCalCollectionId CollectionId()

ConstructL()

voidConstructL()[private]

ConstructL(CCalSessionImpl &)

voidConstructL(CCalSessionImpl &aCalSessionImpl)[private]

Parameters

CCalSessionImpl & aCalSessionImpl

CreateCalFileL(const TDesC &)

voidCreateCalFileL(const TDesC &aFileName)const

Parameters

const TDesC & aFileName

CreateCalFileL(const TDesC &, const CCalCalendarInfo &)

voidCreateCalFileL(const TDesC &aFileName,
const CCalCalendarInfo &aCalendarInfo
)const

Parameters

const TDesC & aFileName
const CCalCalendarInfo & aCalendarInfo

CreateDumySimpleEntryL()

CAgnSimpleEntry *CreateDumySimpleEntryL()

DecrementReferenceCount()

voidDecrementReferenceCount()

DefaultFileNameL()

const TDesC &DefaultFileNameL()const

DeleteCalFileL(const TDesC &)

voidDeleteCalFileL(const TDesC &aFileName)const

Parameters

const TDesC & aFileName

DeleteSimpleEntry(CAgnSimpleEntry *)

voidDeleteSimpleEntry(CAgnSimpleEntry *aSimpleEntry)

Parameters

CAgnSimpleEntry * aSimpleEntry

DisableChangeBroadcast()

voidDisableChangeBroadcast()

DisablePubSubNotificationsL()

voidDisablePubSubNotificationsL()

EnableChangeBroadcast()

voidEnableChangeBroadcast()

EnablePubSubNotificationsL()

voidEnablePubSubNotificationsL()

EntryHasChangedL(RArray< TCalChangeEntry > &)

voidEntryHasChangedL(RArray< TCalChangeEntry > &aChangedEntries)[private]

Parameters

RArray< TCalChangeEntry > & aChangedEntries

FileId()

TInt64 FileId()

FileIdL(TCalFileId &)

voidFileIdL(TCalFileId &aCalFileId)const

Parameters

TCalFileId & aCalFileId

FileName()

const TDesC &FileName()

GetFileNameL(TCalPubSubData, TDes &)

voidGetFileNameL(TCalPubSubDataaPubSubData,
TDes &aFileName
)

Parameters

TCalPubSubData aPubSubData
TDes & aFileName

GetSimpleEntryFromServerL(const TAgnInstance &)

CAgnSimpleEntry *GetSimpleEntryFromServerL(const TAgnInstance &aInstance)
capability
ReadUserData

Parameters

const TAgnInstance & aInstance

GetSimpleEntryFromServerL(TUint32)

CAgnSimpleEntry *GetSimpleEntryFromServerL(TUint32aInstance)

Parameters

TUint32 aInstance

IncrementReferenceCount()

voidIncrementReferenceCount()

IsFileNameL(TCalPubSubData, const TDesC &)

TBool IsFileNameL(TCalPubSubDataaPubSubData,
const TDesC &aFileName
)

Parameters

TCalPubSubData aPubSubData
const TDesC & aFileName

IsOpenedFileL(TCalPubSubData)

TBool IsOpenedFileL(TCalPubSubDataaPubSubData)

Parameters

TCalPubSubData aPubSubData

ListCalFilesL()

CDesCArray *ListCalFilesL()const

NewL()

CCalSessionImpl *NewL()[static]

NewL(CCalSessionImpl &)

CCalSessionImpl *NewL(CCalSessionImpl &aCalSessionImpl)[static]

Parameters

CCalSessionImpl & aCalSessionImpl

OpenL(const TDesC &, CalCommon::TCalFileVersionSupport &)

voidOpenL(const TDesC &aFileName,
CalCommon::TCalFileVersionSupport &aStatus
)const

Parameters

const TDesC & aFileName
CalCommon::TCalFileVersionSupport & aStatus

ReportChangeL(TInt)

voidReportChangeL(TIntaChange)

Parameters

TInt aChange

Server()

RAgendaServ &Server()const

SessionId()

TInt SessionId()const

SetCalendarInfoL(const CCalCalendarInfo &)

voidSetCalendarInfoL(const CCalCalendarInfo &aCalendarInfo)const

Parameters

const CCalCalendarInfo & aCalendarInfo

SetCalendarInfoL(const TDesC &, const CCalCalendarInfo &)

voidSetCalendarInfoL(const TDesC &aFileName,
const CCalCalendarInfo &aCalendarInfo
)const [private]

Parameters

const TDesC & aFileName
const CCalCalendarInfo & aCalendarInfo

StartChangeNotificationL(MCalChangeCallBack *, MCalChangeCallBack::TChangeEntryType, TBool, TTime, TTime)

voidStartChangeNotificationL(MCalChangeCallBack *aCallBack,
MCalChangeCallBack::TChangeEntryTypeaChangeEntryType,
TBoolaIncludeUndatedTodos,
TTimeaFilterStartTime,
TTimeaFilterEndTime
)

Parameters

MCalChangeCallBack * aCallBack
MCalChangeCallBack::TChangeEntryType aChangeEntryType
TBool aIncludeUndatedTodos
TTime aFilterStartTime
TTime aFilterEndTime

StartChangeNotificationL(MCalChangeCallBack2 &, const CCalChangeNotificationFilter &)

voidStartChangeNotificationL(MCalChangeCallBack2 &aChangeObserver,
const CCalChangeNotificationFilter &aFilter
)

Parameters

MCalChangeCallBack2 & aChangeObserver
const CCalChangeNotificationFilter & aFilter

StartFileChangeNotificationL(MCalFileChangeObserver &)

voidStartFileChangeNotificationL(MCalFileChangeObserver &aCallBack)

Parameters

MCalFileChangeObserver & aCallBack

StopChangeNotification()

voidStopChangeNotification()

StopFileChangeNotification()

voidStopFileChangeNotification()

TzRulesLastModifiedDateL()

TTime TzRulesLastModifiedDateL()

_DebugRequestAllocatedCellsL()

TInt _DebugRequestAllocatedCellsL()

_DebugRequestAllocatedHeapSizeL()

TInt _DebugRequestAllocatedHeapSizeL()

_DebugSetHeapFailL(RAllocator::TAllocFail, TInt)

void_DebugSetHeapFailL(RAllocator::TAllocFailaFail,
TIntaRate
)

Parameters

RAllocator::TAllocFail aFail
TInt aRate

__dbgClearTzClientCacheL(TBool)

void__dbgClearTzClientCacheL(TBoolaRestartCaching)

Parameters

TBool aRestartCaching

Member Enumerations Documentation

Enum TPubSubChange

Enumerators

ENoChange = 0x00
ETodoChanged = 0x01
EEventChanged = 0x10

Member Data Documentation

CAgnChangeReporter * iAgnChangeReporter

CAgnChangeReporter *iAgnChangeReporter[private]

RAgendaServ * iAgnServer

RAgendaServ *iAgnServer[private]

CCalAsyncTaskManager * iCalAsyncTaskManager

CCalAsyncTaskManager *iCalAsyncTaskManager[private]

MCalProgressCallBack * iCallBack

MCalProgressCallBack *iCallBack[private]

MCalChangeCallBack * iChangeCallBack

MCalChangeCallBack *iChangeCallBack[private]

MCalChangeCallBack2 * iChangeObserver

MCalChangeCallBack2 *iChangeObserver[private]

TCalCollectionId iCollectionId

TCalCollectionId iCollectionId[private]

MCalFileChangeObserver * iFileChangeObserver

MCalFileChangeObserver *iFileChangeObserver[private]

TCalFileId iFileId

TCalFileId iFileId[private]

HBufC * iFileName

HBufC *iFileName[private]

TInt iReferenceCount

TInt iReferenceCount[private]

TInt iSessionId

TInt iSessionId[private]