MsgStoreFolderUtils Class Reference

class MsgStoreFolderUtils

Collection of folder management methods.

Public Member Functions
IMPORT_C void GetRootFoldersL ( CMsgStoreMailBox &, TMsgStoreRootFolders &)
IMPORT_C void InitializeRootFoldersL ( CMsgStoreMailBox &, TMsgStoreRootFolders &)

Member Functions Documentation

GetRootFoldersL(CMsgStoreMailBox &, TMsgStoreRootFolders &)

IMPORT_C void GetRootFoldersL ( CMsgStoreMailBox & aMailBox,
TMsgStoreRootFolders & aRootFolders
) [static]

Retrieve the root folder ids for the specified mailbox.

Parameters

CMsgStoreMailBox & aMailBox [in], mail box object.
TMsgStoreRootFolders & aRootFolders [out], ids of the root folders.

InitializeRootFoldersL(CMsgStoreMailBox &, TMsgStoreRootFolders &)

IMPORT_C void InitializeRootFoldersL ( CMsgStoreMailBox & aMailBox,
TMsgStoreRootFolders & aRootFolders
) [static]

Create folders for the types defined in the TMsgStoreFolderType enum and return the corresponding TMsgStoreIds in aFolderInfo. If a folder of a particular type already exists its id is returned instead.

Parameters

CMsgStoreMailBox & aMailBox [in], mail box object.
TMsgStoreRootFolders & aRootFolders [out], ids of the root folders.