qtinternetradio/irqmediaplayer/src/irqphononadapter.cpp
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 #include "irqphononadapter.h"
       
    18 
       
    19 // ---------------------------------------------------------------------------
       
    20 //  IRQPHONONAdapter::IRQMMFAdapter
       
    21 //  Constructor
       
    22 //  Initialize viriants
       
    23 // ---------------------------------------------------------------------------
       
    24 //
       
    25 IRQPHONONAdapter::IRQPHONONAdapter()
       
    26 {
       
    27     iPlayState = EStopped;
       
    28 }
       
    29 
       
    30 // ---------------------------------------------------------------------------
       
    31 //  IRQPHONONAdapter::~IRQMMFAdapter
       
    32 //  Destructor
       
    33 //  Clean up resources
       
    34 // ---------------------------------------------------------------------------
       
    35 //
       
    36 IRQPHONONAdapter::~IRQPHONONAdapter()
       
    37 {
       
    38 }
       
    39 
       
    40 // ---------------------------------------------------------------------------
       
    41 //  IRQPHONONAdapter::playStation
       
    42 //  IRQPlayerAdapterInterface method
       
    43 //  Play url via specific access point id
       
    44 // ---------------------------------------------------------------------------
       
    45 //
       
    46 void IRQPHONONAdapter::playStation(const QString &aUrl, int aApId)
       
    47 {
       
    48     Q_UNUSED(aUrl);
       
    49     Q_UNUSED(aApId);
       
    50 }
       
    51 
       
    52 // ---------------------------------------------------------------------------
       
    53 //  IRQPHONONAdapter::stop
       
    54 //  IRQPlayerAdapterInterface method
       
    55 //  Stop playback, call Close() to clean up allocated resources
       
    56 // ---------------------------------------------------------------------------
       
    57 //
       
    58 void IRQPHONONAdapter::stop()
       
    59 {
       
    60 }
       
    61 
       
    62 // ---------------------------------------------------------------------------
       
    63 //  IRQPHONONAdapter::setVolume
       
    64 //  IRQPlayerAdapterInterface method
       
    65 //  Set volume to player
       
    66 // ---------------------------------------------------------------------------
       
    67 //
       
    68 void IRQPHONONAdapter::setVolume(int aVolume)
       
    69 {
       
    70     Q_UNUSED(aVolume);
       
    71 }
       
    72 
       
    73 // ---------------------------------------------------------------------------
       
    74 //  IRQPHONONAdapter::getVolume
       
    75 //  IRQPlayerAdapterInterface method
       
    76 //  Get current volume value from player
       
    77 // ---------------------------------------------------------------------------
       
    78 //
       
    79 int IRQPHONONAdapter::getVolume()
       
    80 {
       
    81     return 0;
       
    82 }
       
    83 
       
    84 // ---------------------------------------------------------------------------
       
    85 //  IRQPHONONAdapter::getPlayerInstance
       
    86 //  IRQPlayerAdapterInterface method
       
    87 //  Get audio player instance
       
    88 // ---------------------------------------------------------------------------
       
    89 //
       
    90 void* IRQPHONONAdapter::getPlayerInstance()
       
    91 {
       
    92     return NULL;
       
    93 }