qtinternetradio/irqmediaplayer/src/irqphononadapter.cpp
changeset 0 09774dfdd46b
child 14 896e9dbc5f19
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qtinternetradio/irqmediaplayer/src/irqphononadapter.cpp	Mon Apr 19 14:01:53 2010 +0300
@@ -0,0 +1,93 @@
+/*
+* 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:
+*
+*/
+#include "irqphononadapter.h"
+
+// ---------------------------------------------------------------------------
+//  IRQPHONONAdapter::IRQMMFAdapter
+//  Constructor
+//  Initialize viriants
+// ---------------------------------------------------------------------------
+//
+IRQPHONONAdapter::IRQPHONONAdapter()
+{
+    iPlayState = EStopped;
+}
+
+// ---------------------------------------------------------------------------
+//  IRQPHONONAdapter::~IRQMMFAdapter
+//  Destructor
+//  Clean up resources
+// ---------------------------------------------------------------------------
+//
+IRQPHONONAdapter::~IRQPHONONAdapter()
+{
+}
+
+// ---------------------------------------------------------------------------
+//  IRQPHONONAdapter::playStation
+//  IRQPlayerAdapterInterface method
+//  Play url via specific access point id
+// ---------------------------------------------------------------------------
+//
+void IRQPHONONAdapter::playStation(const QString &aUrl, int aApId)
+{
+    Q_UNUSED(aUrl);
+    Q_UNUSED(aApId);
+}
+
+// ---------------------------------------------------------------------------
+//  IRQPHONONAdapter::stop
+//  IRQPlayerAdapterInterface method
+//  Stop playback, call Close() to clean up allocated resources
+// ---------------------------------------------------------------------------
+//
+void IRQPHONONAdapter::stop()
+{
+}
+
+// ---------------------------------------------------------------------------
+//  IRQPHONONAdapter::setVolume
+//  IRQPlayerAdapterInterface method
+//  Set volume to player
+// ---------------------------------------------------------------------------
+//
+void IRQPHONONAdapter::setVolume(int aVolume)
+{
+    Q_UNUSED(aVolume);
+}
+
+// ---------------------------------------------------------------------------
+//  IRQPHONONAdapter::getVolume
+//  IRQPlayerAdapterInterface method
+//  Get current volume value from player
+// ---------------------------------------------------------------------------
+//
+int IRQPHONONAdapter::getVolume()
+{
+    return 0;
+}
+
+// ---------------------------------------------------------------------------
+//  IRQPHONONAdapter::getPlayerInstance
+//  IRQPlayerAdapterInterface method
+//  Get audio player instance
+// ---------------------------------------------------------------------------
+//
+void* IRQPHONONAdapter::getPlayerInstance()
+{
+    return NULL;
+}