diff -r 3ec52facab4d -r 8192e5b5c935 mpengine/inc/mpequalizerframeworkwrapper.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mpengine/inc/mpequalizerframeworkwrapper.h Thu May 27 12:49:57 2010 +0300 @@ -0,0 +1,57 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Wrapper for equalizer framework +* +*/ + +#ifndef MPEQUALIZERFRAMEWORKWRAPPER_H +#define MPEQUALIZERFRAMEWORKWRAPPER_H + +// System includes +#include +#include + +class MpEqualizerFrameworkWrapperPrivate; + +/** + * Wrapper for equalizer framework + */ +class MpEqualizerFrameworkWrapper : public QObject + { + Q_OBJECT + Q_PROPERTY(QStringList presetNames READ presetNames) + +public: + + explicit MpEqualizerFrameworkWrapper( QObject *parent = 0 ); + virtual ~MpEqualizerFrameworkWrapper(); + + int getPresetNameKey( int presetIndex ); + int getPresetIndex( int presetNameKey ); + QStringList presetNames(); + +signals: + void equalizerReady(); + +private: + + Q_DISABLE_COPY(MpEqualizerFrameworkWrapper) + MpEqualizerFrameworkWrapperPrivate *d_ptr; + + friend class MpEqualizerFrameworkWrapperPrivate; + }; + +#endif // MPEQUALIZERFRAMEWORKWRAPPER_H + +//End of File