inc/mpmediacontroller.h
changeset 48 af3740e3753f
equal deleted inserted replaced
42:79c49924ae23 48:af3740e3753f
       
     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: Music Player Media Controller.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MPMEDIACONTROLLER_H
       
    19 #define MPMEDIACONTROLLER_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <QtGlobal>
       
    23 
       
    24 class MpMediaKeyHandler;
       
    25 class MpVolumeSlider;
       
    26 
       
    27 #ifdef BUILD_MPMEDIACONTROLLER
       
    28 #define BUILD_MPMEDIACONTROLLER_EXPORT Q_DECL_EXPORT
       
    29 #else
       
    30 #define BUILD_MPMEDIACONTROLLER_EXPORT Q_DECL_IMPORT
       
    31 #endif
       
    32 class  BUILD_MPMEDIACONTROLLER_EXPORT MpMediaController: public QObject
       
    33 {
       
    34 
       
    35 Q_OBJECT
       
    36 
       
    37 public:
       
    38 
       
    39     explicit MpMediaController( QObject *parent = 0 );
       
    40     virtual ~MpMediaController();
       
    41 
       
    42 private:
       
    43     Q_DISABLE_COPY(MpMediaController)
       
    44     MpMediaKeyHandler           *mMpMediaKeyHandler;    // own
       
    45     MpVolumeSlider              *mMpVolumeSlider;       // own
       
    46 };
       
    47 
       
    48 #endif    // MPMEDIACONTROLLER_H