MProEngProfileObserver 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 <mproengprofileobserver.h>

Detailed Description

Profile modification observer interface.

Implement this interface to get notifications of changes in the data of a selected profile.


Public Member Functions

virtual void  HandleProfileModifiedL (TInt aProfileId)=0
  Abstract method for handling profile modification event.
virtual void  HandleProfileNotificationError (TInt)
  Error handler for handling the errors in the profile modification notification process.

Protected Member Functions

virtual  ~MProEngProfileObserver ()
  Destructor.

Constructor & Destructor Documentation

virtual MProEngProfileObserver::~MProEngProfileObserver  )  [inline, protected, virtual]
 

Destructor.


Member Function Documentation

virtual void MProEngProfileObserver::HandleProfileModifiedL TInt  aProfileId  )  [pure virtual]
 

Abstract method for handling profile modification event.

This method is called when one of client chosen profiles has been modified some way.

Parameters:
aProfileId  The ID of the profile that was modified. If there has been many simultaneous changes in Profiles data, so that one profile cannot be identified, this is KErrNotFound. In this case, client gets this notification as many times as there are profiles he has requested notifications about. The savest way is to use own handlers for every profile of interest.
virtual void MProEngProfileObserver::HandleProfileNotificationError TInt   )  [inline, virtual]
 

Error handler for handling the errors in the profile modification notification process.

If HandleProfileModifiedL() leaves, this method is called with the leave code. This method has default empty implementation.

Parameters:
aError  the code of the error which occurred during notification process.

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

Copyright © Nokia Corporation 2001-2008
Back to top