18 #ifndef _OHRADIO_HXX_INCLUDED_ 19 #define _OHRADIO_HXX_INCLUDED_ 24 #include "libupnpp/control/service.hxx" 25 #include "libupnpp/control/cdircontent.hxx" 26 #include "ohplaylist.hxx" 32 class UPnPServiceDesc;
34 typedef std::shared_ptr<OHRadio> OHRDH;
52 static bool isOHRdService(
const std::string& st);
53 virtual bool serviceTypeMatch(
const std::string& tp);
56 int channelsMax(
int *);
58 int idArray(std::vector<int> *ids,
int *tokp);
59 int idArrayChanged(
int token,
bool *changed);
62 int protocolInfo(std::string *proto);
64 int readList(
const std::vector<int>& ids,
65 std::vector<OHPlaylist::TrackListEntry>* entsp);
66 int setChannel(
const std::string& uri,
const std::string& didl);
67 int setId(
int id,
const std::string& uri);
69 int transportState(OHPlaylist::TPState *tps);
72 static int decodeMetadata(
const std::string& fromwho,
77 static const std::string SType;
80 void UPNPP_LOCAL evtCallback(
81 const std::unordered_map<std::string, std::string>&);
82 void UPNPP_LOCAL registerCallback();
Definition: service.hxx:82
OHRadio Service client class.
Definition: ohradio.hxx:40
Data holder for a UPnP service, parsed from the device XML description.
Definition: description.hxx:46
UPnP Media Server directory entry, converted from XML data.
Definition: cdircontent.hxx:62
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