diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-11-25 18:05:22 -0800 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-12-04 07:51:55 +0000 |
commit | 2a7c5592575a490c986e51584c1613ce2189b2b1 (patch) | |
tree | ad3364c7e33e6d949af5b1f12c7616c5a77e7325 /mediaplayer/mediaplayer.cpp | |
parent | 667da60a708953bba25d7b82600397e8914f55fc (diff) |
libqtappfw: mediaplayer: add connect/disconnect methodsflounder_6.0.3flounder/6.0.36.0.3
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>
(cherry picked from commit 14e7b0492cd83bff966491bb654e0a18d5411732)
Diffstat (limited to 'mediaplayer/mediaplayer.cpp')
-rw-r--r-- | mediaplayer/mediaplayer.cpp | 9 |
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"); |