|
a/upmpd/upmpd.hxx |
|
b/upmpd/upmpd.hxx |
|
... |
|
... |
33 |
|
33 |
|
34 |
enum Options {
|
34 |
enum Options {
|
35 |
upmpdNone,
|
35 |
upmpdNone,
|
36 |
// If set, the MPD queue belongs to us, we shall clear
|
36 |
// If set, the MPD queue belongs to us, we shall clear
|
37 |
// it as we like.
|
37 |
// it as we like.
|
38 |
upmpdOwnQueue,
|
38 |
upmpdOwnQueue = 1,
|
39 |
// Export OpenHome services
|
39 |
// Export OpenHome services
|
40 |
upmpdDoOH,
|
40 |
upmpdDoOH = 2,
|
41 |
// Save queue metadata to disk for persistence across restarts
|
41 |
// Save queue metadata to disk for persistence across restarts
|
42 |
// (mpd does it)
|
42 |
// (mpd does it)
|
43 |
upmpdOhMetaPersist
|
43 |
upmpdOhMetaPersist = 4
|
44 |
};
|
44 |
};
|
45 |
UpMpd(const string& deviceid, const string& friendlyname,
|
45 |
UpMpd(const string& deviceid, const string& friendlyname,
|
46 |
const unordered_map<string, string>& xmlfiles,
|
46 |
const unordered_map<string, string>& xmlfiles,
|
47 |
MPDCli *mpdcli, unsigned int opts, const std::string& cachefn);
|
47 |
MPDCli *mpdcli, unsigned int opts, const std::string& cachefn);
|
48 |
~UpMpd();
|
48 |
~UpMpd();
|