|
a/src/mediaserver/cdplugins/plgwithslave.hxx |
|
b/src/mediaserver/cdplugins/plgwithslave.hxx |
|
... |
|
... |
19 |
|
19 |
|
20 |
#include <vector>
|
20 |
#include <vector>
|
21 |
|
21 |
|
22 |
#include "cdplugin.hxx"
|
22 |
#include "cdplugin.hxx"
|
23 |
#include "libupnpp/device/vdir.hxx"
|
23 |
#include "libupnpp/device/vdir.hxx"
|
|
|
24 |
|
|
|
25 |
class CmdTalk;
|
24 |
|
26 |
|
25 |
// Interface to a content plugin implemented through a Python subprocess,
|
27 |
// Interface to a content plugin implemented through a Python subprocess,
|
26 |
// e.g. the Tidal, Qobuz and Gmusic interfaces.
|
28 |
// e.g. the Tidal, Qobuz and Gmusic interfaces.
|
27 |
class PlgWithSlave : public CDPlugin {
|
29 |
class PlgWithSlave : public CDPlugin {
|
28 |
public:
|
30 |
public:
|
|
... |
|
... |
46 |
// make things quite more complicated for a number of reasons.
|
48 |
// make things quite more complicated for a number of reasons.
|
47 |
virtual std::string get_media_url(const std::string& path);
|
49 |
virtual std::string get_media_url(const std::string& path);
|
48 |
|
50 |
|
49 |
// used for plugins which should start initialization asap
|
51 |
// used for plugins which should start initialization asap
|
50 |
bool startInit();
|
52 |
bool startInit();
|
51 |
|
53 |
|
|
|
54 |
// Used by ohcredentials to start a plugin instance
|
|
|
55 |
static bool startPluginCmd(CmdTalk& cmd, const std::string& appname,
|
|
|
56 |
const std::string& host, unsigned int port,
|
|
|
57 |
const std::string& pathprefix);
|
|
|
58 |
static bool maybeStartMHD(CDPluginServices *cdsrv);
|
|
|
59 |
|
52 |
class Internal;
|
60 |
class Internal;
|
53 |
private:
|
61 |
private:
|
54 |
Internal *m;
|
62 |
Internal *m;
|
55 |
};
|
63 |
};
|
56 |
|
64 |
|