diff -r 41300fa6a67c -r 3b1da2848fc7 src/3rdparty/phonon/mmf/bassboost.h --- a/src/3rdparty/phonon/mmf/bassboost.h Tue Feb 02 00:43:10 2010 +0200 +++ b/src/3rdparty/phonon/mmf/bassboost.h Fri Feb 19 23:40:16 2010 +0200 @@ -19,9 +19,10 @@ #ifndef PHONON_MMF_BASSBOOST_H #define PHONON_MMF_BASSBOOST_H -#include #include "abstractaudioeffect.h" +class CBassBoost; + QT_BEGIN_NAMESPACE namespace Phonon @@ -29,25 +30,26 @@ namespace MMF { /** - * @short An "bass boost" effect. - * - * The documentation does not say what "bass boost" is, neither has it anykind - * of setting. It's an on or off thing. + * @short A "bass boost" effect. */ class BassBoost : public AbstractAudioEffect { Q_OBJECT public: - BassBoost(QObject *parent); + BassBoost(QObject *parent, const QList ¶meters); + + // Static interface required by EffectFactory + static const char* description(); + static bool getParameters(CMdaAudioOutputStream *stream, + QList& parameters); protected: - virtual void parameterChanged(const int id, - const QVariant &value); - - virtual bool activateOn(CPlayerType *player); + // AbstractAudioEffect + virtual void createEffect(AudioPlayer::NativePlayer *player); private: - QScopedPointer m_bassBoost; + CBassBoost *concreteEffect(); + }; } }