QFeedbackThemeInterface Class

The QFeedbackThemeInterface class is the base class for plugins providing themed effects. More...

Header: #include <QFeedbackThemeInterface>
Inherits: QFeedbackInterface

Public Functions

virtual bool play(QFeedbackEffect::Effect) = 0
virtual QFeedbackInterface::PluginPriority pluginPriority() = 0

Detailed Description

They can be of any nature (tactile, audio...). This simple interface will be used to play those themed effects by a simple call to the play method.

Member Function Documentation

[pure virtual] bool QFeedbackThemeInterface::play(QFeedbackEffect::Effect)

Plays the theme effect effect. Returns false in case of an error.

[pure virtual] QFeedbackInterface::PluginPriority QFeedbackThemeInterface::pluginPriority()

Returns the priority for the plugin.