equal
deleted
inserted
replaced
19 #ifndef PHONON_MMF_ABSTRACTEFFECT_H |
19 #ifndef PHONON_MMF_ABSTRACTEFFECT_H |
20 #define PHONON_MMF_ABSTRACTEFFECT_H |
20 #define PHONON_MMF_ABSTRACTEFFECT_H |
21 |
21 |
22 #include <QScopedPointer> |
22 #include <QScopedPointer> |
23 |
23 |
24 #include <AudioEffectBase.h> |
24 #include <audioeffectbase.h> |
25 |
25 |
26 #include <phonon/effectinterface.h> |
26 #include <phonon/effectinterface.h> |
27 |
27 |
28 #include "audioplayer.h" |
28 #include "audioplayer.h" |
29 #include "effectparameter.h" |
29 #include "effectparameter.h" |
116 |
116 |
117 // Macro for defining functions which depend on the native class name |
117 // Macro for defining functions which depend on the native class name |
118 // for each of the effects. Using this reduces repetition of boilerplate |
118 // for each of the effects. Using this reduces repetition of boilerplate |
119 // in the implementations of the backend effect nodes. |
119 // in the implementations of the backend effect nodes. |
120 |
120 |
|
121 #ifdef Q_CC_NOKIAX86 |
|
122 # pragma warn_illtokenpasting off |
|
123 #endif |
|
124 |
121 #define PHONON_MMF_DEFINE_EFFECT_FUNCTIONS(Effect) \ |
125 #define PHONON_MMF_DEFINE_EFFECT_FUNCTIONS(Effect) \ |
122 \ |
126 \ |
123 void Effect##::createEffect(AudioPlayer::NativePlayer *player) \ |
127 void Effect##::createEffect(AudioPlayer::NativePlayer *player) \ |
124 { \ |
128 { \ |
125 C##Effect *ptr = 0; \ |
129 C##Effect *ptr = 0; \ |