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 void Clear ( )

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

void ConstructL ( ) [private]

Item(TInt)

IMPORT_C const HBufC * Item ( TInt aIndex ) 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 void SetEntryL ( TInt aIndex,
const TDesC & aName,
TChar aDriveLetter,
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 aIndex index (only used for positioning the entry - not stored)
const TDesC & aName name
TChar aDriveLetter drive letter
const TDesC & aUrl
const TDesC & aUserName user name
const TDesC & aPassword password
const TDesC & aIap IAP name

SetItemL(TInt, const TDesC8 &)

IMPORT_C void SetItemL ( TInt aIndex,
const TDesC8 & aValue
)
Sets an item value
leave
KErrArgument, incorrect index or value

Parameters

TInt aIndex item index
const TDesC8 & aValue string value

SetItemL(TInt, const TDesC &)

IMPORT_C void SetItemL ( TInt aIndex,
const TDesC & aValue
)
Sets an item value
leave
KErrArgument, incorrect index or value

Parameters

TInt aIndex item index
const TDesC & aValue string value

Member Data Documentation

RFs iFs

RFs iFs [private]

HBufC * iMountEntryItems

HBufC * iMountEntryItems [private]