|
a/libupnpp/control/description.cxx |
|
b/libupnpp/control/description.cxx |
|
... |
|
... |
27 |
|
27 |
|
28 |
#include "libupnpp/upnpp_p.hxx"
|
28 |
#include "libupnpp/upnpp_p.hxx"
|
29 |
#include "libupnpp/expatmm.hxx"
|
29 |
#include "libupnpp/expatmm.hxx"
|
30 |
#include "description.hxx"
|
30 |
#include "description.hxx"
|
31 |
|
31 |
|
|
|
32 |
using namespace UPnPP;
|
|
|
33 |
|
|
|
34 |
namespace UPnPClient {
|
|
|
35 |
|
32 |
class UPnPDeviceParser : public expatmm::inputRefXMLParser {
|
36 |
class UPnPDeviceParser : public inputRefXMLParser {
|
33 |
public:
|
37 |
public:
|
34 |
UPnPDeviceParser(const string& input, UPnPDeviceDesc& device)
|
38 |
UPnPDeviceParser(const string& input, UPnPDeviceDesc& device)
|
35 |
: expatmm::inputRefXMLParser(input), m_device(device)
|
39 |
: inputRefXMLParser(input), m_device(device)
|
36 |
{}
|
40 |
{}
|
37 |
|
41 |
|
38 |
protected:
|
42 |
protected:
|
39 |
virtual void StartElement(const XML_Char *name, const XML_Char **)
|
43 |
virtual void StartElement(const XML_Char *name, const XML_Char **)
|
40 |
{
|
44 |
{
|
|
... |
|
... |
124 |
}
|
128 |
}
|
125 |
ok = true;
|
129 |
ok = true;
|
126 |
//cerr << "URLBase: [" << URLBase << "]" << endl;
|
130 |
//cerr << "URLBase: [" << URLBase << "]" << endl;
|
127 |
//cerr << dump() << endl;
|
131 |
//cerr << dump() << endl;
|
128 |
}
|
132 |
}
|
|
|
133 |
|
|
|
134 |
} // namespace
|