|
a/libupnpp/control/cdircontent.cxx |
|
b/libupnpp/control/cdircontent.cxx |
|
... |
|
... |
26 |
#include "libupnpp/expatmm.hxx"
|
26 |
#include "libupnpp/expatmm.hxx"
|
27 |
#include "libupnpp/upnpp_p.hxx"
|
27 |
#include "libupnpp/upnpp_p.hxx"
|
28 |
#include "libupnpp/control/cdircontent.hxx"
|
28 |
#include "libupnpp/control/cdircontent.hxx"
|
29 |
#include "libupnpp/log.hxx"
|
29 |
#include "libupnpp/log.hxx"
|
30 |
|
30 |
|
|
|
31 |
using namespace UPnPP;
|
|
|
32 |
|
|
|
33 |
namespace UPnPClient {
|
|
|
34 |
|
31 |
// An XML parser which builds directory contents from DIDL-lite input.
|
35 |
// An XML parser which builds directory contents from DIDL-lite input.
|
32 |
class UPnPDirParser : public expatmm::inputRefXMLParser {
|
36 |
class UPnPDirParser : public inputRefXMLParser {
|
33 |
public:
|
37 |
public:
|
34 |
UPnPDirParser(UPnPDirContent& dir, const string& input)
|
38 |
UPnPDirParser(UPnPDirContent& dir, const string& input)
|
35 |
: inputRefXMLParser(input), m_dir(dir)
|
39 |
: inputRefXMLParser(input), m_dir(dir)
|
36 |
{
|
40 |
{
|
37 |
//LOGDEB("UPnPDirParser: input: " << input << endl);
|
41 |
//LOGDEB("UPnPDirParser: input: " << input << endl);
|
|
... |
|
... |
198 |
// proves necessary.
|
202 |
// proves necessary.
|
199 |
string UPnPDirObject::getdidl()
|
203 |
string UPnPDirObject::getdidl()
|
200 |
{
|
204 |
{
|
201 |
return didl_header + m_didlfrag;
|
205 |
return didl_header + m_didlfrag;
|
202 |
}
|
206 |
}
|
|
|
207 |
|
|
|
208 |
} // namespace
|