MProEngProfileNameArray Class Reference

API published in: S60 3rd Ed FP 1

Link against: profileengine.lib

Capability Information

Required Capabilities

WriteDeviceData

Exceptions

No capabilities needed for reading profiles.


#include <mproengprofilenamearray.h>

Detailed Description

Profile name array interface.

How to use: Get profile names array with MProEngEngine::ProfileNameArrayLC().

  MProEngProfileNameArray* nameArray =
      iProfileEngine->ProfileNameArrayLC();

Public Member Functions

virtual TInt  ProfileId (TInt aIndex) const =0
  Return the ID of the profile in the given array index.
virtual TInt  FindById (TInt aId) const =0
  Find profile index by ID of the profile.
virtual TInt  FindByName (const TDesC &aProfileName) const =0
  Find profile index by name of the profile.

Member Function Documentation

virtual TInt MProEngProfileNameArray::FindById TInt  aId  )  const [pure virtual]
 

Find profile index by ID of the profile.

Parameters:
aId  ID of the profile.
Returns:
Return index of the profile. KErrNotFound if profile isn't found.
virtual TInt MProEngProfileNameArray::FindByName const TDesC &  aProfileName  )  const [pure virtual]
 

Find profile index by name of the profile.

Parameters:
aProfileName  name of the profile.
Returns:
Return index of the profile. KErrNotFound if profile isn't found.
virtual TInt MProEngProfileNameArray::ProfileId TInt  aIndex  )  const [pure virtual]
 

Return the ID of the profile in the given array index.

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

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top