qtinternetradio/irqmediaplayer/inc/irqphononadapter.h
changeset 0 09774dfdd46b
child 14 896e9dbc5f19
equal deleted inserted replaced
-1:000000000000 0:09774dfdd46b
       
     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:
       
    15 *
       
    16 */
       
    17 #ifndef IRQPHONONADAPTER_H_
       
    18 #define IRQPHONONADAPTER_H_
       
    19 
       
    20 #include <QObject>
       
    21 #include "irqplayeradapterinterface.h"
       
    22 
       
    23 /**
       
    24  * This class wraps the PHONON interface
       
    25  */
       
    26 class IRQPHONONAdapter : public IRQPlayerAdapterInterface
       
    27 {
       
    28     Q_OBJECT
       
    29 
       
    30 public:
       
    31     IRQPHONONAdapter();
       
    32     ~IRQPHONONAdapter();
       
    33 
       
    34     // Inherited from IRQPlayerAdapterInterface
       
    35     void  playStation(const QString &aUrl, int aApId);
       
    36     void  stop();
       
    37     void  setVolume(int aVolume);
       
    38     int   getVolume();
       
    39     void* getPlayerInstance();
       
    40 };
       
    41 
       
    42 #endif /* IRQPHONONADAPTER_H_ */