ProEngFactory 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 <proengfactory.h>

Detailed Description

Factory for Profiles Engine Wrapper.

You can create new instances of Profiles Engines, Notification Handlers and Alert Tone Seekers by using this factory.

Example:

  // Create a new instance of Profiles Engine:
  MProEngEngine* engine =
      ProEngFactory::NewEngineLC();

  // Create a new instance of Notification Handler:
  MProEngNotifyHandler* notifyHandler =
      ProEngFactory::NewNotifyHandlerL();

  // Create a new instance of Alert Tone Seeker:
  MProEngAlertToneSeeker* toneSeeker =
      ProEngFactory::NewAlertToneSeekerL();

Static Public Member Functions

static IMPORT_C MProEngEngine NewEngineL ()
  Create a new instance of Profiles Engine.
static IMPORT_C MProEngEngine NewEngineLC ()
  Create a new instance of Profiles Engine.
static IMPORT_C MProEngEngine NewEngineL (RFs &aFs)
  Create a new instance of Profiles Engine.
static IMPORT_C MProEngEngine NewEngineLC (RFs &aFs)
  Create a new instance of Profiles Engine.
static IMPORT_C MProEngNotifyHandler NewNotifyHandlerL ()
  Create a new instance of Profiles Notification Handler.
static IMPORT_C MProEngAlertToneSeeker NewAlertToneSeekerL ()
  Create a new instance of Profiles Alert Tone Seeker.

Member Function Documentation

static IMPORT_C MProEngAlertToneSeeker* ProEngFactory::NewAlertToneSeekerL  )  [static]
 

Create a new instance of Profiles Alert Tone Seeker.

Returns:
New instance of Alert Tone Seeker. Ownership is transferred to the client application.
static IMPORT_C MProEngEngine* ProEngFactory::NewEngineL RFs &  aFs  )  [static]
 

Create a new instance of Profiles Engine.

Parameters:
aFs  A reference to an open file server session. aFs must remain connected for the lifetime of the returned object.
Returns:
New instance of Profiles Engine. Ownership is transferred to the client application.
static IMPORT_C MProEngEngine* ProEngFactory::NewEngineL  )  [static]
 

Create a new instance of Profiles Engine.

Returns:
New instance of Profiles Engine. Ownership is transferred to the client application.
static IMPORT_C MProEngEngine* ProEngFactory::NewEngineLC RFs &  aFs  )  [static]
 

Create a new instance of Profiles Engine.

The created object is pushed into the cleanup stack.

Parameters:
aFs  A reference to an open file server session. aFs must remain connected for the lifetime of the returned object.
Returns:
New instance of Profiles Engine. Ownership is transferred to the client application.
static IMPORT_C MProEngEngine* ProEngFactory::NewEngineLC  )  [static]
 

Create a new instance of Profiles Engine.

The created object is pushed into the cleanup stack.

Returns:
New instance of Profiles Engine. Ownership is transferred to the client application.
static IMPORT_C MProEngNotifyHandler* ProEngFactory::NewNotifyHandlerL  )  [static]
 

Create a new instance of Profiles Notification Handler.

Returns:
New instance of Notification Handler. Ownership is transferred to the client application.

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

Copyright © Nokia Corporation 2001-2008
Back to top