CRsfwMountManImpl Class Reference

class CRsfwMountManImpl : public CBase

Class for implementing mount management of remote file repositories

mountman.dll
Since
Series 60 3.1

Inherits from

Public Member Functions
~CRsfwMountManImpl()
voidAddMountEntryL(CRsfwMountEntry *)
TInt CancelRemoteTransfer(const TDesC &)
voidDeleteMountEntryL(const TDesC &)
voidDeleteMountEntryL(TChar)
voidEditMountEntryL(CRsfwMountEntry *)
TInt GetAllDrivesL(TDriveList &)
TInt GetMountInfo(TChar, TRsfwMountInfo &)
voidGetMountNamesL(CDesC16Array *)
TInt GetRemoteMountListL(TDriveList &)
voidHandleMountStoreEvent(TMountStoreEvent, TInt, TAny *)
TBool IsAppOnBlackList(TUid)
voidMountBlindL(TChar &)
const CRsfwMountEntry *MountEntryL(const TDesC &)
const CRsfwMountEntry *MountEntryL(TChar)
voidMountL(TChar &)
CRsfwMountManImpl *NewL(TUint, MRsfwMountManObserver *)
TInt RefreshDirectory(const TDesC &)
TInt SetMountConnectionState(TChar, TUint)
Private Member Functions
CRsfwMountManImpl()
voidAddEntryL(CRsfwMountEntry *)
voidConstructL(TUint, MRsfwMountManObserver *)
voidDoUnmountL(TChar, TUint)
TChar DriveLetterFromMountEntry(const CRsfwMountEntry &)
TInt ExecuteUnmount(TChar)
TChar FreeDriveLetterL(TChar)
voidGetFsDriveListL(TDriveList &, TBool)
TInt GetRemoteDriveListL(TDriveList &)
TInt GetRsfwControlConnection()
voidLoadBlackListL()
TInt MountFileSystem(const TDesC &, TChar)
TInt RemoteMountCountL()
TInt SetDriveNameToFileSystem(TChar, const TDesC &)
TInt SyncWithMounterExe(TBool, TChar)
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
enumTRsfwMountState { EMountStateIdle = 0, EMountStateWait, EMountStateCanceled }
Private Attributes
RArray< TUid >iBlackList
TUint iDefaultFlags
RFs iFs
TRsfwMountInfo iMountInfo
MRsfwMountManObserver *iMountManObserver
TRsfwMountState iMountState
CRsfwMountStore *iMountStore
RRsfwControl iRsfwControl
TBool iRsfwControlConnected

Constructor & Destructor Documentation

CRsfwMountManImpl()

CRsfwMountManImpl()[private]

~CRsfwMountManImpl()

~CRsfwMountManImpl()[virtual]

Destructor.

Member Functions Documentation

AddEntryL(CRsfwMountEntry *)

voidAddEntryL(CRsfwMountEntry *aMountEntry)[private]

Parameters

CRsfwMountEntry * aMountEntry

AddMountEntryL(CRsfwMountEntry *)

voidAddMountEntryL(CRsfwMountEntry *aMountEntry)

Parameters

CRsfwMountEntry * aMountEntry

CancelRemoteTransfer(const TDesC &)

TInt CancelRemoteTransfer(const TDesC &aFile)

Parameters

const TDesC & aFile

ConstructL(TUint, MRsfwMountManObserver *)

voidConstructL(TUintaDefaultFlags,
MRsfwMountManObserver *aMountManObserver
)[private]

Parameters

TUint aDefaultFlags
MRsfwMountManObserver * aMountManObserver

DeleteMountEntryL(const TDesC &)

voidDeleteMountEntryL(const TDesC &aName)

Parameters

const TDesC & aName

DeleteMountEntryL(TChar)

voidDeleteMountEntryL(TCharaDriveLetter)

Parameters

TChar aDriveLetter

DoUnmountL(TChar, TUint)

voidDoUnmountL(TCharaDriveLetter,
TUintaFlags
)[private]

Parameters

TChar aDriveLetter
TUint aFlags

DriveLetterFromMountEntry(const CRsfwMountEntry &)

TChar DriveLetterFromMountEntry(const CRsfwMountEntry &aMountEntry)[private]

Parameters

const CRsfwMountEntry & aMountEntry

EditMountEntryL(CRsfwMountEntry *)

voidEditMountEntryL(CRsfwMountEntry *aMountEntry)

Parameters

CRsfwMountEntry * aMountEntry

ExecuteUnmount(TChar)

TInt ExecuteUnmount(TCharaDriveLetter)[private]

Parameters

TChar aDriveLetter

FreeDriveLetterL(TChar)

TChar FreeDriveLetterL(TCharaDriveLetter)[private]

Parameters

TChar aDriveLetter

GetAllDrivesL(TDriveList &)

TInt GetAllDrivesL(TDriveList &aDriveList)

Parameters

TDriveList & aDriveList

GetFsDriveListL(TDriveList &, TBool)

voidGetFsDriveListL(TDriveList &aDriveList,
TBoolaRemoteOnly
)[private]

Parameters

TDriveList & aDriveList
TBool aRemoteOnly

GetMountInfo(TChar, TRsfwMountInfo &)

TInt GetMountInfo(TCharaDriveLetter,
TRsfwMountInfo &aMountInfo
)

Parameters

TChar aDriveLetter
TRsfwMountInfo & aMountInfo

GetMountNamesL(CDesC16Array *)

voidGetMountNamesL(CDesC16Array *aNames)

Parameters

CDesC16Array * aNames

GetRemoteDriveListL(TDriveList &)

TInt GetRemoteDriveListL(TDriveList &aDriveList)[private]

Parameters

TDriveList & aDriveList

GetRemoteMountListL(TDriveList &)

TInt GetRemoteMountListL(TDriveList &aDriveList)

Parameters

TDriveList & aDriveList

GetRsfwControlConnection()

TInt GetRsfwControlConnection()[private]

HandleMountStoreEvent(TMountStoreEvent, TInt, TAny *)

voidHandleMountStoreEvent(TMountStoreEventaEvent,
TIntaStatus,
TAny *aArg
)

Parameters

TMountStoreEvent aEvent
TInt aStatus
TAny * aArg

IsAppOnBlackList(TUid)

TBool IsAppOnBlackList(TUidaUid)

Parameters

TUid aUid

LoadBlackListL()

voidLoadBlackListL()[private]

MountBlindL(TChar &)

voidMountBlindL(TChar &aDriveLetter)

Parameters

TChar & aDriveLetter

MountEntryL(const TDesC &)

const CRsfwMountEntry *MountEntryL(const TDesC &aName)

Parameters

const TDesC & aName

MountEntryL(TChar)

const CRsfwMountEntry *MountEntryL(TCharaDriveLetter)

Parameters

TChar aDriveLetter

MountFileSystem(const TDesC &, TChar)

TInt MountFileSystem(const TDesC &aDriveName,
TCharaDriveLetter
)[private]

Parameters

const TDesC & aDriveName
TChar aDriveLetter

MountL(TChar &)

voidMountL(TChar &aDriveLetter)

Parameters

TChar & aDriveLetter

NewL(TUint, MRsfwMountManObserver *)

CRsfwMountManImpl *NewL(TUintaDefaultFlags,
MRsfwMountManObserver *aMountManObserver
)[static]

Two-phased constructor.

Parameters

TUint aDefaultFlagsmust be set to KMountFlagInteractive if the user is to be prompted during the mount procedure. Otherwise the parameter can be omitted (defaults to zero)
MRsfwMountManObserver * aMountManObserver

RefreshDirectory(const TDesC &)

TInt RefreshDirectory(const TDesC &aPath)

Parameters

const TDesC & aPath

RemoteMountCountL()

TInt RemoteMountCountL()[private]

SetDriveNameToFileSystem(TChar, const TDesC &)

TInt SetDriveNameToFileSystem(TCharaDriveLetter,
const TDesC &aDriveName
)[private]

Parameters

TChar aDriveLetter
const TDesC & aDriveName

SetMountConnectionState(TChar, TUint)

TInt SetMountConnectionState(TCharaDriveLetter,
TUintaConnectionState
)

Parameters

TChar aDriveLetter
TUint aConnectionState

SyncWithMounterExe(TBool, TChar)

TInt SyncWithMounterExe(TBoolaSetDrive,
TCharaDrive = EDriveQ
)[private]

Parameters

TBool aSetDrive
TChar aDrive = EDriveQ

Member Enumerations Documentation

Enum TRsfwMountState

Enumerators

EMountStateIdle = 0
EMountStateWait
EMountStateCanceled

Member Data Documentation

RArray< TUid > iBlackList

RArray< TUid >iBlackList[private]

TUint iDefaultFlags

TUint iDefaultFlags[private]

RFs iFs

RFs iFs[private]

TRsfwMountInfo iMountInfo

TRsfwMountInfo iMountInfo[private]

MRsfwMountManObserver * iMountManObserver

MRsfwMountManObserver *iMountManObserver[private]

TRsfwMountState iMountState

TRsfwMountState iMountState[private]

CRsfwMountStore * iMountStore

CRsfwMountStore *iMountStore[private]

RRsfwControl iRsfwControl

RRsfwControl iRsfwControl[private]

TBool iRsfwControlConnected

TBool iRsfwControlConnected[private]