|
a/src/mediaserver/mediaserver.hxx |
|
b/src/mediaserver/mediaserver.hxx |
|
... |
|
... |
25 |
class ContentDirectory;
|
25 |
class ContentDirectory;
|
26 |
class UpMpdConMan;
|
26 |
class UpMpdConMan;
|
27 |
|
27 |
|
28 |
class MediaServer : public UpnpDevice {
|
28 |
class MediaServer : public UpnpDevice {
|
29 |
public:
|
29 |
public:
|
|
|
30 |
// Enabled is false when the mediaserver eventloop will not be
|
|
|
31 |
// started because we are only using the infrastructure to perform
|
|
|
32 |
// track url translations for ohcredentials. We need to force
|
|
|
33 |
// starting some stuff in this case.
|
30 |
MediaServer(const std::string& deviceid, const std::string& friendlyname,
|
34 |
MediaServer(const std::string& deviceid, const std::string& friendlyname,
|
|
|
35 |
bool enabled,
|
31 |
const std::unordered_map<std::string, VDirContent>& files =
|
36 |
const std::unordered_map<std::string, VDirContent>& files =
|
32 |
std::unordered_map<std::string, VDirContent>()
|
37 |
std::unordered_map<std::string, VDirContent>()
|
33 |
);
|
38 |
);
|
34 |
|
39 |
|
35 |
~MediaServer();
|
40 |
~MediaServer();
|