Introduction of fake radio backend to enable testing the radio APIs

Includes some behavior for all standard methods.
Also fixes a typo in qradiotunercontrol.h and a couple of minor
bugs in the radio example that came to light using this new
backend.

Change-Id: I65b8b8715a46f0fd702f9630ea81f7d5df527055
Reviewed-on: http://codereview.qt.nokia.com/3619
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
Jonas Rabbe
2011-08-26 10:59:19 +10:00
committed by Qt by Nokia
parent f60838dcfd
commit 7535629ecb
10 changed files with 776 additions and 4 deletions

View File

@@ -0,0 +1,23 @@
load(qt_module)
TARGET = qtmedia_fakeradio
QT += multimediakit-private
PLUGIN_TYPE = mediaservice
load(qt_plugin)
DESTDIR = $$QT.multimediakit.plugins/$${PLUGIN_TYPE}
HEADERS += \
fakeradioserviceplugin.h \
fakeradioservice.h \
fakeradiotunercontrol.h
SOURCES += \
fakeradioserviceplugin.cpp \
fakeradioservice.cpp \
fakeradiotunercontrol.cpp
target.path += $$[QT_INSTALL_PLUGINS]/$${PLUGIN_TYPE}
INSTALLS += target