mpengine/inc/mpequalizerframeworkwrapper.h
changeset 29 8192e5b5c935
equal deleted inserted replaced
25:3ec52facab4d 29:8192e5b5c935
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 * 
       
    14 * Description: Wrapper for equalizer framework
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MPEQUALIZERFRAMEWORKWRAPPER_H
       
    19 #define MPEQUALIZERFRAMEWORKWRAPPER_H
       
    20 
       
    21 // System includes
       
    22 #include <QObject>
       
    23 #include <QStringList>
       
    24 
       
    25 class MpEqualizerFrameworkWrapperPrivate;
       
    26 
       
    27 /**
       
    28  *  Wrapper for equalizer framework
       
    29  */
       
    30 class MpEqualizerFrameworkWrapper : public QObject
       
    31     {
       
    32     Q_OBJECT
       
    33     Q_PROPERTY(QStringList presetNames READ presetNames)
       
    34     
       
    35 public:
       
    36 
       
    37     explicit MpEqualizerFrameworkWrapper( QObject *parent = 0 );
       
    38     virtual ~MpEqualizerFrameworkWrapper();
       
    39 
       
    40     int getPresetNameKey( int presetIndex );
       
    41     int getPresetIndex( int presetNameKey );
       
    42     QStringList presetNames();
       
    43 
       
    44 signals:
       
    45     void equalizerReady();
       
    46 
       
    47 private:
       
    48 
       
    49     Q_DISABLE_COPY(MpEqualizerFrameworkWrapper)
       
    50     MpEqualizerFrameworkWrapperPrivate *d_ptr;
       
    51 
       
    52     friend class MpEqualizerFrameworkWrapperPrivate;
       
    53     };
       
    54 
       
    55 #endif // MPEQUALIZERFRAMEWORKWRAPPER_H
       
    56 
       
    57 //End of File