MProfileEngineExtended Class Reference

class MProfileEngineExtended : public MProfileEngine

Extended profile engine interface. This interface extend MProfileEngine interface and offers methods to get profile settings and store profile settings.

N/A
Since
2.0

Inherits from

Constructor & Destructor Documentation

~MProfileEngineExtended()

~MProfileEngineExtended()[protected, inline, virtual]

Member Functions Documentation

CommitChangeL(MProfileExtended &)

voidCommitChangeL(MProfileExtended &aProfile)[pure virtual]
Store profile settings. Leaves with KErrAccessDenied if one or more of the settings of the target profile is/are read-only.
Since
2.0

Parameters

MProfileExtended & aProfileProfile

CreateProfileL()

MProfileExtended *CreateProfileL()[pure virtual]
Create new profile, ownership transfered.
Since
2.1

DeleteProfileL(TInt)

TInt DeleteProfileL(TIntaId)[pure virtual]
Delete profile.
Since
2.1

Parameters

TInt aIdProfile ID

GetProfileUtilityObject(TProfileUtilityObjectType, TAny *&)

voidGetProfileUtilityObject(TProfileUtilityObjectTypeaType,
TAny *&aImpl
)[pure virtual]

Returns an utility object needed for a specific task. The returned object can be generally of any class and the caller must know what it wants and cast the returned object to the correct class. The ownership is not transferred.

Parameters

TProfileUtilityObjectType aTypethe type of the utility object to be returned.
TAny *& aImplthe utility object needed by the client on return, NULL if there isn't any of the given type

IsDefaultProfile(TInt)

TBool IsDefaultProfile(TIntaId)[pure virtual]
Returns is profile default profile.
Since
2.0

Parameters

TInt aIdProfile ID

LocalFeatures()

MProfilesLocalFeatures &LocalFeatures()[pure virtual]
Returns locally variated features of Profiles.
Since
2.6

ProfileL(TInt)

MProfileExtended *ProfileL(TIntaId)[pure virtual]
Create extended profile, ownership transfered.
Since
2.0

Parameters

TInt aIdProfile ID

ProfileLC(TInt)

MProfileExtended *ProfileLC(TIntaId)[pure virtual]
Create extended profile, ownership transfered.
Since
2.0

Parameters

TInt aIdProfile ID

SendPresenceSettingsL(const MProfilePresence &)

voidSendPresenceSettingsL(const MProfilePresence &aPresence)[pure virtual]
Send presence settings.
Since
2.1

Parameters

const MProfilePresence & aPresence

SetActiveProfileTimedL(TInt, TTime)

voidSetActiveProfileTimedL(TIntaId,
TTimeaTime
)[pure virtual]
Set timed active profile. When the time expires the profile which was active before calling this method will be reactivated. If ID is incorrect then leave with KErrNotFound.
Since
3.2

Parameters

TInt aIdProfile ID
TTime aTimetime when the profile activation expires