|
a/src/cdplugins/tidal.hxx |
|
b/src/cdplugins/tidal.hxx |
|
... |
|
... |
18 |
#define _TIDAL_H_INCLUDED_
|
18 |
#define _TIDAL_H_INCLUDED_
|
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 |
|
24 |
|
24 |
// Tidal interface
|
25 |
// Tidal interface
|
25 |
class Tidal : public CDPlugin {
|
26 |
class Tidal : public CDPlugin {
|
26 |
public:
|
27 |
public:
|
27 |
Tidal(const std::vector<std::string>& plgpath);
|
28 |
Tidal(const std::vector<std::string>& plgpath,
|
|
|
29 |
const std::string& httphp, const std::string& pathprefix);
|
28 |
virtual ~Tidal();
|
30 |
virtual ~Tidal();
|
29 |
|
31 |
|
30 |
// Returns totalmatches
|
32 |
// Returns totalmatches
|
31 |
virtual int browse(
|
33 |
virtual int browse(
|
32 |
const std::string& objid, int stidx, int cnt,
|
34 |
const std::string& objid, int stidx, int cnt,
|
33 |
std::vector<UpSong>& entries,
|
35 |
std::vector<UpSong>& entries,
|
34 |
const std::vector<std::string>& sortcrits = std::vector<std::string>(),
|
36 |
const std::vector<std::string>& sortcrits = std::vector<std::string>(),
|
35 |
BrowseFlag flg = BFChildren);
|
37 |
BrowseFlag flg = BFChildren);
|
36 |
|
38 |
|
|
|
39 |
UPnPProvider::VirtualDir::FileOps getFileOps();
|
|
|
40 |
|
37 |
private:
|
41 |
private:
|
38 |
class Internal;
|
42 |
class Internal;
|
39 |
Internal *m;
|
43 |
Internal *m;
|
40 |
};
|
44 |
};
|
41 |
|
45 |
|