summaryrefslogtreecommitdiffstats
path: root/mediaplayer/mediaplayer.cpp
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-11-25 18:05:22 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-11-25 18:08:14 -0800
commit14e7b0492cd83bff966491bb654e0a18d5411732 (patch)
tree50f12daf8dea192cbe4445219b467ecf45d97843 /mediaplayer/mediaplayer.cpp
parent2a37b2bd4aa01ae5567921bd894aae68287a0e99 (diff)
libqtappfw: mediaplayer: add connect/disconnect methods
Allow libqtappfw middleware to connect/disconnect avrcp/a2dp profiles. Bug-AGL: SPEC-1630 Change-Id: Idd160ccddc90a211af3c43b19a731d6df6ae8b1e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'mediaplayer/mediaplayer.cpp')
-rw-r--r--mediaplayer/mediaplayer.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/mediaplayer/mediaplayer.cpp b/mediaplayer/mediaplayer.cpp
index bf0b4bc..186cebe 100644
--- a/mediaplayer/mediaplayer.cpp
+++ b/mediaplayer/mediaplayer.cpp
@@ -87,6 +87,15 @@ void Mediaplayer::control(QString control)
Mediaplayer::control(control, parameter);
}
+void Mediaplayer::disconnect()
+{
+ control("disconnect");
+}
+
+void Mediaplayer::connect()
+{
+ control("connect");
+}
void Mediaplayer::play()
{
control("play");