VibraFactory Class Reference

API published in: S60 2nd Ed
API deprecated in: S60 3rd Ed

Link against: vibractrl.lib

Capability Information

Required Capabilities

None


#include <vibractrl.h>

Detailed Description

Factory to create instance of the VibraControl.
Deprecated:
since Series 60 3.0 - Use HWRM Vibra API instead (HWRMVibra.h)

Static Public Member Functions

static IMPORT_C CVibraControl NewL ()
  Create a CVibraControl object without notify handling.
static IMPORT_C CVibraControl NewL (MVibraControlObserver *aCallback)
  Create a CVibraControl Object using notify handling The clients of this code will be notified about every change of the vibration setting in the user profile via the MvibraControlObserver interface.
static IMPORT_C CVibraControl NewLC (MVibraControlObserver *aCallback)
  Create a CVibraControl Object using notify handling The clients of this code will be notified about every change of the vibration setting in the user profile via the MvibraControlObserver interface.

Member Function Documentation

static IMPORT_C CVibraControl* VibraFactory::NewL MVibraControlObserver aCallback  )  [static]
 

Create a CVibraControl Object using notify handling The clients of this code will be notified about every change of the vibration setting in the user profile via the MvibraControlObserver interface.

Parameters:
aCallback  A reference to a class implementing the MVibraControlObserver interface. If aCallback is NULL, notify handling is not enabled.
See also:
MVibraControlObserver
Deprecated:
since Series 60 3.0
static IMPORT_C CVibraControl* VibraFactory::NewL  )  [static]
 

Create a CVibraControl object without notify handling.

Deprecated:
since Series 60 3.0
static IMPORT_C CVibraControl* VibraFactory::NewLC MVibraControlObserver aCallback  )  [static]
 

Create a CVibraControl Object using notify handling The clients of this code will be notified about every change of the vibration setting in the user profile via the MvibraControlObserver interface.

The object is left to cleanup stack.

Parameters:
aCallback  A reference to a class implementing the MVibraControlObserver interface. If aCallback is NULL, notify handling is not enabled.
See also:
MVibraControlObserver
Deprecated:
since Series 60 3.0

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

Copyright © Nokia Corporation 2001-2008
Back to top