xbmc
xbmc
network
dacp
dacp.h
1
/*
2
* Copyright (C) 2015-2018 Team Kodi
3
* This file is part of Kodi - https://kodi.tv
4
*
5
* SPDX-License-Identifier: GPL-2.0-or-later
6
* See LICENSES/README.md for more information.
7
*/
8
9
#pragma once
10
11
#include "URL.h"
12
13
#include <string>
14
15
class
CDACP
16
{
17
public
:
18
CDACP
(
const
std::string &active_remote_header,
const
std::string &hostname,
int
port);
19
20
void
BeginFwd();
21
void
BeginRewnd();
22
void
ToggleMute();
23
void
NextItem();
24
void
PrevItem();
25
void
Pause();
26
void
PlayPause();
27
void
Play();
28
void
Stop();
29
void
PlayResume();
30
void
ShuffleSongs();
31
void
VolumeDown();
32
void
VolumeUp();
33
34
private
:
35
void
SendCmd(
const
std::string &cmd);
36
37
CURL
m_dacpUrl;
38
};
CURL
Definition:
URL.h:21
CDACP
Definition:
dacp.h:15
Generated by
1.8.13