18 #ifndef _OHPRODUCT_HXX_INCLUDED_ 19 #define _OHPRODUCT_HXX_INCLUDED_ 21 #include <unordered_map> 25 #include "service.hxx" 32 class UPnPServiceDesc;
34 typedef std::shared_ptr<OHProduct> OHPRH;
50 static bool isOHPrService(
const std::string& st);
51 virtual bool serviceTypeMatch(
const std::string& tp);
57 Source() : visible(
false) {}
66 int getSources(std::vector<Source>& sources);
67 int sourceIndex(
int *index);
68 int setSourceIndex(
int index);
69 int setSourceIndexByName(
const std::string& name);
70 int standby(
bool *value);
71 int setStanby(
bool value);
75 static const std::string SType;
77 void UPNPP_LOCAL evtCallback(
78 const std::unordered_map<std::string, std::string>&);
79 void UPNPP_LOCAL registerCallback();
Definition: service.hxx:82
Data holder for a UPnP service, parsed from the device XML description.
Definition: description.hxx:46
OHProduct Service client class.
Definition: ohproduct.hxx:40
Definition: ohproduct.hxx:53
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