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 ()
void AddMountEntryL ( CRsfwMountEntry *)
TInt CancelRemoteTransfer (const TDesC &)
void DeleteMountEntryL (const TDesC &)
void DeleteMountEntryL ( TChar )
void EditMountEntryL ( CRsfwMountEntry *)
TInt GetAllDrivesL ( TDriveList &)
TInt GetMountInfo ( TChar , TRsfwMountInfo &)
void GetMountNamesL ( CDesC16Array *)
TInt GetRemoteMountListL ( TDriveList &)
void HandleMountStoreEvent ( TMountStoreEvent , TInt , TAny *)
TBool IsAppOnBlackList ( TUid )
void MountBlindL ( TChar &)
const CRsfwMountEntry * MountEntryL (const TDesC &)
const CRsfwMountEntry * MountEntryL ( TChar )
void MountL ( TChar &)
CRsfwMountManImpl * NewL ( TUint , MRsfwMountManObserver *)
TInt RefreshDirectory (const TDesC &)
TInt SetMountConnectionState ( TChar , TUint )
Private Member Functions
CRsfwMountManImpl ()
void AddEntryL ( CRsfwMountEntry *)
void ConstructL ( TUint , MRsfwMountManObserver *)
void DoUnmountL ( TChar , TUint )
TChar DriveLetterFromMountEntry (const CRsfwMountEntry &)
TInt ExecuteUnmount ( TChar )
TChar FreeDriveLetterL ( TChar )
void GetFsDriveListL ( TDriveList &, TBool )
TInt GetRemoteDriveListL ( TDriveList &)
TInt GetRsfwControlConnection ()
void LoadBlackListL ()
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
enum TRsfwMountState { 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 *)

void AddEntryL ( CRsfwMountEntry * aMountEntry ) [private]

Parameters

CRsfwMountEntry * aMountEntry

AddMountEntryL(CRsfwMountEntry *)

void AddMountEntryL ( CRsfwMountEntry * aMountEntry )

Parameters

CRsfwMountEntry * aMountEntry

CancelRemoteTransfer(const TDesC &)

TInt CancelRemoteTransfer ( const TDesC & aFile )

Parameters

const TDesC & aFile

ConstructL(TUint, MRsfwMountManObserver *)

void ConstructL ( TUint aDefaultFlags,
MRsfwMountManObserver * aMountManObserver
) [private]

Parameters

TUint aDefaultFlags
MRsfwMountManObserver * aMountManObserver

DeleteMountEntryL(const TDesC &)

void DeleteMountEntryL ( const TDesC & aName )

Parameters

const TDesC & aName

DeleteMountEntryL(TChar)

void DeleteMountEntryL ( TChar aDriveLetter )

Parameters

TChar aDriveLetter

DoUnmountL(TChar, TUint)

void DoUnmountL ( TChar aDriveLetter,
TUint aFlags
) [private]

Parameters

TChar aDriveLetter
TUint aFlags

DriveLetterFromMountEntry(const CRsfwMountEntry &)

TChar DriveLetterFromMountEntry ( const CRsfwMountEntry & aMountEntry ) [private]

Parameters

const CRsfwMountEntry & aMountEntry

EditMountEntryL(CRsfwMountEntry *)

void EditMountEntryL ( CRsfwMountEntry * aMountEntry )

Parameters

CRsfwMountEntry * aMountEntry

ExecuteUnmount(TChar)

TInt ExecuteUnmount ( TChar aDriveLetter ) [private]

Parameters

TChar aDriveLetter

FreeDriveLetterL(TChar)

TChar FreeDriveLetterL ( TChar aDriveLetter ) [private]

Parameters

TChar aDriveLetter

GetAllDrivesL(TDriveList &)

TInt GetAllDrivesL ( TDriveList & aDriveList )

Parameters

TDriveList & aDriveList

GetFsDriveListL(TDriveList &, TBool)

void GetFsDriveListL ( TDriveList & aDriveList,
TBool aRemoteOnly
) [private]

Parameters

TDriveList & aDriveList
TBool aRemoteOnly

GetMountInfo(TChar, TRsfwMountInfo &)

TInt GetMountInfo ( TChar aDriveLetter,
TRsfwMountInfo & aMountInfo
)

Parameters

TChar aDriveLetter
TRsfwMountInfo & aMountInfo

GetMountNamesL(CDesC16Array *)

void GetMountNamesL ( 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 *)

void HandleMountStoreEvent ( TMountStoreEvent aEvent,
TInt aStatus,
TAny * aArg
)

Parameters

TMountStoreEvent aEvent
TInt aStatus
TAny * aArg

IsAppOnBlackList(TUid)

TBool IsAppOnBlackList ( TUid aUid )

Parameters

TUid aUid

LoadBlackListL()

void LoadBlackListL ( ) [private]

MountBlindL(TChar &)

void MountBlindL ( TChar & aDriveLetter )

Parameters

TChar & aDriveLetter

MountEntryL(const TDesC &)

const CRsfwMountEntry * MountEntryL ( const TDesC & aName )

Parameters

const TDesC & aName

MountEntryL(TChar)

const CRsfwMountEntry * MountEntryL ( TChar aDriveLetter )

Parameters

TChar aDriveLetter

MountFileSystem(const TDesC &, TChar)

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

Parameters

const TDesC & aDriveName
TChar aDriveLetter

MountL(TChar &)

void MountL ( TChar & aDriveLetter )

Parameters

TChar & aDriveLetter

NewL(TUint, MRsfwMountManObserver *)

CRsfwMountManImpl * NewL ( TUint aDefaultFlags,
MRsfwMountManObserver * aMountManObserver
) [static]

Two-phased constructor.

Parameters

TUint aDefaultFlags must 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 ( TChar aDriveLetter,
const TDesC & aDriveName
) [private]

Parameters

TChar aDriveLetter
const TDesC & aDriveName

SetMountConnectionState(TChar, TUint)

TInt SetMountConnectionState ( TChar aDriveLetter,
TUint aConnectionState
)

Parameters

TChar aDriveLetter
TUint aConnectionState

SyncWithMounterExe(TBool, TChar)

TInt SyncWithMounterExe ( TBool aSetDrive,
TChar aDrive = 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]