Commit b056978d authored by Jean-Francois Dockes's avatar Jean-Francois Dockes
Browse files

comments

parent 7ebbdb17
......@@ -45,8 +45,12 @@ public:
virtual bool setfileops(CDPlugin *, const std::string& path,
UPnPProvider::VirtualDir::FileOps ops)= 0;
/// Access the main configuration file.
/// Get a pointer to the the main configuration file contents.
virtual ConfSimple *getconfig(CDPlugin *)= 0;
/// This calls plg->getname() and returns something like
/// datadir/nm/nm-app.py. Can't see why this is in contentdirectory
/// since it seems very specific to plgwithslave...
virtual std::string getexecpath(CDPlugin *)= 0;
};
......
......@@ -22,7 +22,8 @@
#include "cdplugin.hxx"
#include "libupnpp/device/vdir.hxx"
// Tidal interface
// Interface to a content plugin implemented through a Python subprocess,
// e.g. the Tidal, Qobuz and Gmusic interfaces.
class PlgWithSlave : public CDPlugin {
public:
PlgWithSlave(const std::string& name, CDPluginServices *services);
......@@ -41,6 +42,8 @@ public:
std::vector<UpSong>& entries,
const std::vector<std::string>& sortcrits = std::vector<std::string>());
// This is for internal use only, but moving it to Internal would
// make things quite more complicated for a number of reasons.
virtual std::string get_media_url(const std::string& path);
class Internal;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment