|
a/upmpd/ohinfo.cxx |
|
b/upmpd/ohinfo.cxx |
|
... |
|
... |
13 |
* along with this program; if not, write to the
|
13 |
* along with this program; if not, write to the
|
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
|
17 |
|
18 |
#include <stdio.h>
|
18 |
#include "ohinfo.hxx"
|
19 |
#include <stdlib.h>
|
|
|
20 |
#include <unistd.h>
|
|
|
21 |
#include <sys/types.h>
|
|
|
22 |
#include <pwd.h>
|
|
|
23 |
|
19 |
|
24 |
#include <string>
|
20 |
#include <upnp/upnp.h> // for UPNP_E_SUCCESS
|
25 |
#include <iostream>
|
21 |
|
26 |
#include <sstream>
|
22 |
#include <functional> // for _Bind, bind, _1, _2
|
27 |
#include <vector>
|
23 |
#include <iostream> // for endl
|
28 |
#include <functional>
|
24 |
#include <string> // for string
|
29 |
#include <set>
|
25 |
#include <unordered_map> // for unordered_map, etc
|
|
|
26 |
#include <utility> // for pair
|
|
|
27 |
#include <vector> // for vector
|
|
|
28 |
|
|
|
29 |
#include "libupnpp/log.hxx" // for LOGDEB
|
|
|
30 |
#include "libupnpp/soaphelp.hxx" // for SoapData, i2s, SoapArgs
|
|
|
31 |
|
|
|
32 |
#include "mpdcli.hxx" // for MpdStatus, etc
|
|
|
33 |
#include "upmpd.hxx" // for UpMpd
|
|
|
34 |
#include "upmpdutils.hxx" // for didlmake, diffmaps
|
|
|
35 |
|
30 |
using namespace std;
|
36 |
using namespace std;
|
31 |
using namespace std::placeholders;
|
37 |
using namespace std::placeholders;
|
32 |
|
|
|
33 |
#include "libupnpp/upnpplib.hxx"
|
|
|
34 |
#include "libupnpp/soaphelp.hxx"
|
|
|
35 |
#include "libupnpp/log.hxx"
|
|
|
36 |
#include "libupnpp/device/device.hxx"
|
|
|
37 |
|
|
|
38 |
#include "upmpd.hxx"
|
|
|
39 |
#include "ohinfo.hxx"
|
|
|
40 |
#include "mpdcli.hxx"
|
|
|
41 |
#include "upmpdutils.hxx"
|
|
|
42 |
|
38 |
|
43 |
static const string sTpProduct("urn:av-openhome-org:service:Info:1");
|
39 |
static const string sTpProduct("urn:av-openhome-org:service:Info:1");
|
44 |
static const string sIdProduct("urn:av-openhome-org:serviceId:Info");
|
40 |
static const string sIdProduct("urn:av-openhome-org:serviceId:Info");
|
45 |
|
41 |
|
46 |
OHInfo::OHInfo(UpMpd *dev)
|
42 |
OHInfo::OHInfo(UpMpd *dev)
|