|
a/upmpd/upmpd.hxx |
|
b/upmpd/upmpd.hxx |
|
... |
|
... |
27 |
class MPDCli;
|
27 |
class MPDCli;
|
28 |
class MpdStatus;
|
28 |
class MpdStatus;
|
29 |
|
29 |
|
30 |
using namespace UPnPProvider;
|
30 |
using namespace UPnPProvider;
|
31 |
|
31 |
|
32 |
// The UPnP MPD frontend device with its 3 services
|
32 |
// The UPnP MPD frontend device with its services
|
33 |
class UpMpd : public UpnpDevice {
|
33 |
class UpMpd : public UpnpDevice {
|
34 |
public:
|
34 |
public:
|
35 |
friend class UpMpdRenderCtl;
|
35 |
friend class UpMpdRenderCtl;
|
36 |
friend class UpMpdAVTransport;
|
36 |
friend class UpMpdAVTransport;
|
37 |
friend class OHInfo;
|
37 |
friend class OHInfo;
|
|
... |
|
... |
47 |
// Save queue metadata to disk for persistence across restarts
|
47 |
// Save queue metadata to disk for persistence across restarts
|
48 |
// (mpd does it)
|
48 |
// (mpd does it)
|
49 |
upmpdOhMetaPersist = 4
|
49 |
upmpdOhMetaPersist = 4
|
50 |
};
|
50 |
};
|
51 |
UpMpd(const std::string& deviceid, const std::string& friendlyname,
|
51 |
UpMpd(const std::string& deviceid, const std::string& friendlyname,
|
52 |
const std::unordered_map<std::string, std::string>& xmlfiles,
|
52 |
const std::unordered_map<std::string, VDirContent>& files,
|
53 |
MPDCli *mpdcli, unsigned int opts, const std::string& cachefn);
|
53 |
MPDCli *mpdcli, unsigned int opts, const std::string& cachefn);
|
54 |
~UpMpd();
|
54 |
~UpMpd();
|
55 |
|
55 |
|
56 |
const MpdStatus &getMpdStatus();
|
56 |
const MpdStatus &getMpdStatus();
|
57 |
const MpdStatus &getMpdStatusNoUpdate()
|
57 |
const MpdStatus &getMpdStatusNoUpdate()
|