MProEngProfileNameArray Class Reference

#include <mw/MProEngProfileNameArray.h>

Link against: ProfileEngine.lib

class MProEngProfileNameArray
Public Member Functions
pure virtual TInt FindById(TInt)
pure virtual TInt FindByName(const TDesC &)
pure virtual TInt ProfileId(TInt)

Detailed Description

Profile name array interface.

How to use: Get profile names array with MProEngEngine::ProfileNameArrayLC().
  MProEngProfileNameArray* nameArray =
      iProfileEngine->ProfileNameArrayLC();
Since
3.1

Member Function Documentation

FindById ( TInt )

TInt FindById(TIntaId)const [pure virtual]
Find profile index by ID of the profile.
Since
3.1
ParameterDescription
aIdID of the profile.

Returns: Return index of the profile. KErrNotFound if profile isn't found.

FindByName ( const TDesC & )

TInt FindByName(const TDesC &aProfileName)const [pure virtual]
Find profile index by name of the profile.
Since
3.1
ParameterDescription
aProfileNamename of the profile.

Returns: Return index of the profile. KErrNotFound if profile isn't found.

ProfileId ( TInt )

TInt ProfileId(TIntaIndex)const [pure virtual]
Return the ID of the profile in the given array index.
Since
3.1
ParameterDescription
aIndexindex of the profile.

Returns: Return the ID of the profile in the given array index. KErrNotFound if the index is out of bounds.