MProEngEngine Class Reference
Profile engine interface. This class offers methods to get active profile, active profile ID, profile names array and set active profile. How to use:
// Create profile engine by using Factory:
MProEngEngine* profileEngine = NewEngineL();
// Free resources with MProEngEngine::Release();
profileEngine->Release();
// or if you release resources in destructor:
if( iEngine )
{
iEngine->Release();
}
// If you put this class to CleanupStack then use void CleanupReleasePushL()
CleanupReleasePushL( *profileEngine );
ProfileEngine.lib
- Since
- 3.1
Private Member Functions |
---|
MProEngChangeObserverExt * | Extension() |
Constructor & Destructor Documentation
~MProEngEngine()
~MProEngEngine | ( | ) | [inline, virtual] |
Member Functions Documentation
ActiveProfileId()
TInt
| ActiveProfileId | ( | ) | [pure virtual] |
Return active profile ID or system error code.
- Since
- 3.1
ActiveProfileL()
Return active profile, ownership transferred.
- Since
- 3.1
ActiveProfileLC()
Return active profile, ownership transferred.
- Since
- 3.1
Extension()
MProEngChangeObserverExt * | Extension | ( | ) | [private, inline, virtual] |
This member is internal and not intended for use.
ProfileL(TInt)
Return the settings of the profile with the given ID, the ownership of the created object is transferred. Leave with KErrNotFound if a profile with the given ID can not be found.
- Since
- 3.1
ProfileLC(TInt)
Return the settings of the profile with the given ID. The created object is pushed in the cleanup stack and the ownership is transferred. Leave with KErrNotFound if a profile with the given ID can not be found.
- Since
- 3.1
ProfileNameArrayLC()
Return profile name array, ownership transferred.
- Since
- 3.1
Release()
void | Release | ( | ) | [pure virtual] |
SetActiveProfileL(TInt)
void | SetActiveProfileL | ( | TInt | aId | ) | [pure virtual] |
Set the active profile, if ID is incorrect then leave with KErrNotFound. This method can be called only by processes having WriteDeviceData capability.
- Since
- 3.1
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.