QFeedbackFileInterface Class Reference
The QFeedbackFileInterface class is the base class for objects providing support for effects stored in files. More...
#include <QFeedbackFileInterface>
Inherits QFeedbackInterface.
Public Functions
| virtual | ~QFeedbackFileInterface () |
| virtual int | effectDuration ( const QFeedbackFileEffect * effect ) = 0 |
| virtual QFeedbackEffect::State | effectState ( const QFeedbackFileEffect * effect ) = 0 |
| virtual void | setEffectState ( QFeedbackFileEffect * effect, QFeedbackEffect::State state ) = 0 |
| virtual void | setLoaded ( QFeedbackFileEffect * effect, bool value ) = 0 |
| virtual QStringList | supportedMimeTypes () = 0 |
Static Public Members
| QFeedbackFileInterface * | instance () |
Static Protected Members
| void | reportLoadFinished ( QFeedbackFileEffect * effect, bool success ) |
- 1 static protected member inherited from QFeedbackInterface
Detailed Description
The QFeedbackFileInterface class is the base class for objects providing support for effects stored in files.
They can be of any nature (tactile, audio...). As it is possible to load many different file types using different technologies, all the backend plugins exposing this interface will be loaded at the same time. When loading a file all the backend will be tried in order until one can load the file. It is thus very important that the backends return a load status as soon as possible to not take a too long time to load a file.