18 #ifndef _RENDERINGCONTROL_HXX_INCLUDED_ 19 #define _RENDERINGCONTROL_HXX_INCLUDED_ 23 #include "service.hxx" 28 class RenderingControl;
30 class UPnPServiceDesc;
32 typedef std::shared_ptr<RenderingControl> RDCH;
49 static bool isRDCService(
const std::string& st);
50 virtual bool serviceTypeMatch(
const std::string& tp);
55 int setVolume(
int volume,
const std::string& channel =
"Master");
57 int getVolume(
const std::string& channel =
"Master");
58 int setMute(
bool mute,
const std::string& channel =
"Master");
59 bool getMute(
const std::string& channel =
"Master");
66 static const std::string SType;
74 void UPNPP_LOCAL evtCallback(
75 const std::unordered_map<std::string, std::string>&);
76 void UPNPP_LOCAL registerCallback();
78 void UPNPP_LOCAL setVolParams(
int min,
int max,
int step);
79 int UPNPP_LOCAL devVolTo0100(
int);
Definition: service.hxx:82
Data holder for a UPnP service, parsed from the device XML description.
Definition: description.hxx:46
RenderingControl Service client class.
Definition: renderingcontrol.hxx:38
Data holder for a UPnP device, parsed from the XML description obtained during discovery.
Definition: description.hxx:142
UPnP Description phase: interpreting the device description which we downloaded from the URL obtained...
Definition: avlastchg.cxx:27