CCalSessionImpl Class Reference

class CCalSessionImpl : public CBase

Inherits from

Public Member Functions
~CCalSessionImpl ()
CCalAsyncTaskManager & AsyncTaskManager ()
CCalCalendarInfo * CalendarInfoL ()
TCalCollectionId CollectionId ()
void CreateCalFileL (const TDesC &)
void CreateCalFileL (const TDesC &, const CCalCalendarInfo &)
CAgnSimpleEntry * CreateDumySimpleEntryL ()
void DecrementReferenceCount ()
const TDesC & DefaultFileNameL ()
void DeleteCalFileL (const TDesC &)
void DeleteSimpleEntry (CAgnSimpleEntry *)
void DisableChangeBroadcast ()
void DisablePubSubNotificationsL ()
void EnableChangeBroadcast ()
void EnablePubSubNotificationsL ()
TInt64 FileId ()
void FileIdL ( TCalFileId &)
const TDesC & FileName ()
void GetFileNameL ( TCalPubSubData , TDes &)
CAgnSimpleEntry * GetSimpleEntryFromServerL (const TAgnInstance &)
CAgnSimpleEntry * GetSimpleEntryFromServerL ( TUint32 )
void IncrementReferenceCount ()
TBool IsFileNameL ( TCalPubSubData , const TDesC &)
TBool IsOpenedFileL ( TCalPubSubData )
CDesCArray * ListCalFilesL ()
CCalSessionImpl * NewL ()
CCalSessionImpl * NewL ( CCalSessionImpl &)
void OpenL (const TDesC &, CalCommon::TCalFileVersionSupport &)
void ReportChangeL ( TInt )
RAgendaServ & Server ()
TInt SessionId ()
void SetCalendarInfoL (const CCalCalendarInfo &)
void StartChangeNotificationL ( MCalChangeCallBack *, MCalChangeCallBack::TChangeEntryType , TBool , TTime , TTime )
void StartChangeNotificationL ( MCalChangeCallBack2 &, const CCalChangeNotificationFilter &)
void StartFileChangeNotificationL ( MCalFileChangeObserver &)
void StopChangeNotification ()
void StopFileChangeNotification ()
TTime TzRulesLastModifiedDateL ()
TInt _DebugRequestAllocatedCellsL ()
TInt _DebugRequestAllocatedHeapSizeL ()
void _DebugSetHeapFailL ( RAllocator::TAllocFail , TInt )
void __dbgClearTzClientCacheL ( TBool )
Private Member Functions
CCalSessionImpl ()
void ConstructL ()
void ConstructL ( CCalSessionImpl &)
void EntryHasChangedL ( RArray < TCalChangeEntry > &)
void SetCalendarInfoL (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
enum TPubSubChange { 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()

void ConstructL ( ) [private]

ConstructL(CCalSessionImpl &)

void ConstructL ( CCalSessionImpl & aCalSessionImpl ) [private]

Parameters

CCalSessionImpl & aCalSessionImpl

CreateCalFileL(const TDesC &)

void CreateCalFileL ( const TDesC & aFileName ) const

Parameters

const TDesC & aFileName

CreateCalFileL(const TDesC &, const CCalCalendarInfo &)

void CreateCalFileL ( const TDesC & aFileName,
const CCalCalendarInfo & aCalendarInfo
) const

Parameters

const TDesC & aFileName
const CCalCalendarInfo & aCalendarInfo

CreateDumySimpleEntryL()

CAgnSimpleEntry * CreateDumySimpleEntryL ( )

DecrementReferenceCount()

void DecrementReferenceCount ( )

DefaultFileNameL()

const TDesC & DefaultFileNameL ( ) const

DeleteCalFileL(const TDesC &)

void DeleteCalFileL ( const TDesC & aFileName ) const

Parameters

const TDesC & aFileName

DeleteSimpleEntry(CAgnSimpleEntry *)

void DeleteSimpleEntry ( CAgnSimpleEntry * aSimpleEntry )

Parameters

CAgnSimpleEntry * aSimpleEntry

DisableChangeBroadcast()

void DisableChangeBroadcast ( )

DisablePubSubNotificationsL()

void DisablePubSubNotificationsL ( )

EnableChangeBroadcast()

void EnableChangeBroadcast ( )

EnablePubSubNotificationsL()

void EnablePubSubNotificationsL ( )

EntryHasChangedL(RArray< TCalChangeEntry > &)

void EntryHasChangedL ( RArray < TCalChangeEntry > & aChangedEntries ) [private]

Parameters

RArray < TCalChangeEntry > & aChangedEntries

FileId()

TInt64 FileId ( )

FileIdL(TCalFileId &)

void FileIdL ( TCalFileId & aCalFileId ) const

Parameters

TCalFileId & aCalFileId

FileName()

const TDesC & FileName ( )

GetFileNameL(TCalPubSubData, TDes &)

void GetFileNameL ( TCalPubSubData aPubSubData,
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 ( TUint32 aInstance )

Parameters

TUint32 aInstance

IncrementReferenceCount()

void IncrementReferenceCount ( )

IsFileNameL(TCalPubSubData, const TDesC &)

TBool IsFileNameL ( TCalPubSubData aPubSubData,
const TDesC & aFileName
)

Parameters

TCalPubSubData aPubSubData
const TDesC & aFileName

IsOpenedFileL(TCalPubSubData)

TBool IsOpenedFileL ( TCalPubSubData aPubSubData )

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 &)

void OpenL ( const TDesC & aFileName,
CalCommon::TCalFileVersionSupport & aStatus
) const

Parameters

const TDesC & aFileName
CalCommon::TCalFileVersionSupport & aStatus

ReportChangeL(TInt)

void ReportChangeL ( TInt aChange )

Parameters

TInt aChange

Server()

RAgendaServ & Server ( ) const

SessionId()

TInt SessionId ( ) const

SetCalendarInfoL(const CCalCalendarInfo &)

void SetCalendarInfoL ( const CCalCalendarInfo & aCalendarInfo ) const

Parameters

const CCalCalendarInfo & aCalendarInfo

SetCalendarInfoL(const TDesC &, const CCalCalendarInfo &)

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

Parameters

const TDesC & aFileName
const CCalCalendarInfo & aCalendarInfo

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

void StartChangeNotificationL ( MCalChangeCallBack * aCallBack,
MCalChangeCallBack::TChangeEntryType aChangeEntryType,
TBool aIncludeUndatedTodos,
TTime aFilterStartTime,
TTime aFilterEndTime
)

Parameters

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

StartChangeNotificationL(MCalChangeCallBack2 &, const CCalChangeNotificationFilter &)

void StartChangeNotificationL ( MCalChangeCallBack2 & aChangeObserver,
const CCalChangeNotificationFilter & aFilter
)

Parameters

MCalChangeCallBack2 & aChangeObserver
const CCalChangeNotificationFilter & aFilter

StartFileChangeNotificationL(MCalFileChangeObserver &)

void StartFileChangeNotificationL ( MCalFileChangeObserver & aCallBack )

Parameters

MCalFileChangeObserver & aCallBack

StopChangeNotification()

void StopChangeNotification ( )

StopFileChangeNotification()

void StopFileChangeNotification ( )

TzRulesLastModifiedDateL()

TTime TzRulesLastModifiedDateL ( )

_DebugRequestAllocatedCellsL()

TInt _DebugRequestAllocatedCellsL ( )

_DebugRequestAllocatedHeapSizeL()

TInt _DebugRequestAllocatedHeapSizeL ( )

_DebugSetHeapFailL(RAllocator::TAllocFail, TInt)

void _DebugSetHeapFailL ( RAllocator::TAllocFail aFail,
TInt aRate
)

Parameters

RAllocator::TAllocFail aFail
TInt aRate

__dbgClearTzClientCacheL(TBool)

void __dbgClearTzClientCacheL ( TBool aRestartCaching )

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]