CRsfwMountEntry Class Reference

class CRsfwMountEntry : public CBase

Remote drive (configuration) entry

Drive configuration entry consists of the following values:
  • Index of the entry. Optional.

  • Friendly name. Mandatory.

  • Drive letter. Optional.

  • Drive URL. Mandatory.

  • User name. Optional.

  • Password. Optional

  • Internet Access point. Optional.

Maximum lengths for the strings:
  • Friendly name 20 characters

  • Drive URL 200 characters

  • User name 50 characters

  • Password 50 characters Setter functions leave with KErrArgument, if longer values are attempted

Drive Letter must be between J: and Y: (see also RFs::DriveList() documentation)

Drive Url must begin with a valid scheme (e.g. https:// or upnp://)

mountstore.dll
Since
Series 60 3.1

Inherits from

Constructor & Destructor Documentation

CRsfwMountEntry()

CRsfwMountEntry()[private]

~CRsfwMountEntry()

IMPORT_C~CRsfwMountEntry()[virtual]

Destructor.

Member Functions Documentation

Clear()

IMPORT_C voidClear()

Clear the entry - the items are set to NULL

CloneL()

IMPORT_C CRsfwMountEntry *CloneL()const

Clone the entry - the items are are copied to the newly created entry

ConstructL()

voidConstructL()[private]

Item(TInt)

IMPORT_C const HBufC *Item(TIntaIndex)const

Returns an item value An empty value may be an empty string or NULL

Parameters

TInt aIndex

NewL()

IMPORT_C CRsfwMountEntry *NewL()[static]

Two-phased constructor.

NewLC()

IMPORT_C CRsfwMountEntry *NewLC()[static]

Two-phased constructor

SetEntryL(TInt, const TDesC &, TChar, const TDesC &, const TDesC &, const TDesC &, const TDesC &)

IMPORT_C voidSetEntryL(TIntaIndex,
const TDesC &aName,
TCharaDriveLetter,
const TDesC &aUrl,
const TDesC &aUserName,
const TDesC &aPassword,
const TDesC &aIap
)
Sets all item values
leave
KErrArgument, one or more parameters incorrect

Parameters

TInt aIndexindex (only used for positioning the entry - not stored)
const TDesC & aNamename
TChar aDriveLetterdrive letter
const TDesC & aUrl
const TDesC & aUserNameuser name
const TDesC & aPasswordpassword
const TDesC & aIapIAP name

SetItemL(TInt, const TDesC8 &)

IMPORT_C voidSetItemL(TIntaIndex,
const TDesC8 &aValue
)
Sets an item value
leave
KErrArgument, incorrect index or value

Parameters

TInt aIndexitem index
const TDesC8 & aValuestring value

SetItemL(TInt, const TDesC &)

IMPORT_C voidSetItemL(TIntaIndex,
const TDesC &aValue
)
Sets an item value
leave
KErrArgument, incorrect index or value

Parameters

TInt aIndexitem index
const TDesC & aValuestring value

Member Data Documentation

RFs iFs

RFs iFs[private]

HBufC * iMountEntryItems

HBufC *iMountEntryItems[private]