|
a/libupnpp/control/mediaserver.cxx |
|
b/libupnpp/control/mediaserver.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 <string>
|
18 |
#include "libupnpp/control/mediaserver.hxx"
|
19 |
#include <vector>
|
19 |
|
20 |
#include <unordered_map>
|
20 |
#include <functional> // for _Bind, bind, _1, _2
|
21 |
#include <functional>
|
21 |
#include <ostream> // for endl
|
|
|
22 |
#include <string> // for string
|
|
|
23 |
#include <unordered_map> // for unordered_map, etc
|
|
|
24 |
#include <utility> // for pair
|
|
|
25 |
#include <vector> // for vector
|
|
|
26 |
|
|
|
27 |
#include "libupnpp/control/cdirectory.hxx" // for ContentDirectory, CDSH
|
|
|
28 |
#include "libupnpp/control/description.hxx" // for UPnPDeviceDesc, etc
|
|
|
29 |
#include "libupnpp/control/discovery.hxx" // for UPnPDeviceDirectory, etc
|
|
|
30 |
#include "libupnpp/log.hxx" // for LOGERR
|
|
|
31 |
|
22 |
using namespace std;
|
32 |
using namespace std;
|
23 |
using namespace std::placeholders;
|
33 |
using namespace std::placeholders;
|
24 |
|
|
|
25 |
#include "libupnpp/log.hxx"
|
|
|
26 |
#include "libupnpp/control/discovery.hxx"
|
|
|
27 |
#include "libupnpp/control/mediaserver.hxx"
|
|
|
28 |
#include "libupnpp/control/cdirectory.hxx"
|
|
|
29 |
|
34 |
|
30 |
namespace UPnPClient {
|
35 |
namespace UPnPClient {
|
31 |
|
36 |
|
32 |
const string
|
37 |
const string
|
33 |
MediaServer::DType("urn:schemas-upnp-org:device:MediaServer:1");
|
38 |
MediaServer::DType("urn:schemas-upnp-org:device:MediaServer:1");
|
|
... |
|
... |
84 |
"found in device" << endl);
|
89 |
"found in device" << endl);
|
85 |
}
|
90 |
}
|
86 |
}
|
91 |
}
|
87 |
|
92 |
|
88 |
}
|
93 |
}
|
89 |
|
|
|