--- a/src/3rdparty/phonon/mmf/bassboost.h Tue Feb 02 00:43:10 2010 +0200
+++ b/src/3rdparty/phonon/mmf/bassboost.h Fri Apr 16 15:50:13 2010 +0300
@@ -19,9 +19,10 @@
#ifndef PHONON_MMF_BASSBOOST_H
#define PHONON_MMF_BASSBOOST_H
-#include <BassBoostBase.h>
#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<EffectParameter> ¶meters);
+
+ // Static interface required by EffectFactory
+ static const char* description();
+ static bool getParameters(CMdaAudioOutputStream *stream,
+ QList<EffectParameter>& 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<CBassBoost> m_bassBoost;
+ CBassBoost *concreteEffect();
+
};
}
}