|
a/libupnpp/control/ohproduct.cxx |
|
b/libupnpp/control/ohproduct.cxx |
|
... |
|
... |
25 |
#include "libupnpp/soaphelp.hxx"
|
25 |
#include "libupnpp/soaphelp.hxx"
|
26 |
#include "libupnpp/upnpp_p.hxx"
|
26 |
#include "libupnpp/upnpp_p.hxx"
|
27 |
#include "libupnpp/log.hxx"
|
27 |
#include "libupnpp/log.hxx"
|
28 |
#include "libupnpp/expatmm.hxx"
|
28 |
#include "libupnpp/expatmm.hxx"
|
29 |
#include "libupnpp/control/ohproduct.hxx"
|
29 |
#include "libupnpp/control/ohproduct.hxx"
|
|
|
30 |
|
|
|
31 |
// SourceList XML format
|
|
|
32 |
// <SourceList>
|
|
|
33 |
// <Source>
|
|
|
34 |
// <Name>[user name for source]</Name>
|
|
|
35 |
// <Type>[Type of the source from closed list of Supported types]</Type>
|
|
|
36 |
// <Visible>[Boolean.]</Visible>
|
|
|
37 |
// </sourcetag>
|
|
|
38 |
// </SourceList>
|
|
|
39 |
// - Playlist - the av.openhome.org:Playlist:1 service must be available
|
|
|
40 |
// - Radio - the av.openhome.org:Radio:1 service must be available
|
|
|
41 |
// - Receiver - the av.openhome.org:Receiver:1 service must be available
|
|
|
42 |
// - UpnpAv - the upnp.org:MediaRenderer:1 device must be available
|
|
|
43 |
// - NetAux - Specifies 3rd party, non OpenHome controllable, network
|
|
|
44 |
// protocols such as AirPlay
|
|
|
45 |
// - Analog - Specifies an analog external input
|
|
|
46 |
// - Digital - Specifies a digital external input
|
|
|
47 |
// - Hdmi - Specifies a HDMI external input
|
30 |
|
48 |
|
31 |
namespace UPnPClient {
|
49 |
namespace UPnPClient {
|
32 |
class OHSourceParser : public expatmm::inputRefXMLParser {
|
50 |
class OHSourceParser : public expatmm::inputRefXMLParser {
|
33 |
public:
|
51 |
public:
|
34 |
OHSourceParser(const string& input, vector<OHProduct::Source>& sources)
|
52 |
OHSourceParser(const string& input, vector<OHProduct::Source>& sources)
|