|
a/src/mediaserver.hxx |
|
b/src/mediaserver.hxx |
|
... |
|
... |
21 |
#include "libupnpp/device/device.hxx"
|
21 |
#include "libupnpp/device/device.hxx"
|
22 |
|
22 |
|
23 |
using namespace UPnPProvider;
|
23 |
using namespace UPnPProvider;
|
24 |
|
24 |
|
25 |
class ContentDirectory;
|
25 |
class ContentDirectory;
|
|
|
26 |
class UpMpdConMan;
|
26 |
|
27 |
|
27 |
class MediaServer : public UpnpDevice {
|
28 |
class MediaServer : public UpnpDevice {
|
28 |
public:
|
29 |
public:
|
29 |
MediaServer(const std::string& deviceid, const std::string& friendlyname);
|
30 |
MediaServer(const std::string& deviceid, const std::string& friendlyname,
|
|
|
31 |
const std::unordered_map<std::string, VDirContent>& files =
|
|
|
32 |
std::unordered_map<std::string, VDirContent>()
|
|
|
33 |
);
|
30 |
|
34 |
|
31 |
~MediaServer();
|
35 |
~MediaServer();
|
32 |
|
36 |
|
33 |
private:
|
37 |
private:
|
34 |
ContentDirectory *m_cd;
|
38 |
ContentDirectory *m_cd;
|
|
|
39 |
UpMpdConMan *m_cm;
|
35 |
};
|
40 |
};
|
36 |
|
41 |
|
37 |
|
42 |
|
38 |
#endif /* _MEDIASERVER_H_INCLUDED_ */
|
43 |
#endif /* _MEDIASERVER_H_INCLUDED_ */
|