6std::string join(std::vector<std::string> v,
char c);
26 std::vector<std::string>
Libdirs() {
return m_libdirs; }
29 std::vector<std::string>
Bindirs() {
return m_bindirs; };
35 std::vector<std::string>
Datadirs() {
return m_datadirs; }
38 std::string
Homedir()
const {
return m_home; }
42 void initWindowsPaths();
43 void initFlatpackPaths();
44 void initLinuxPaths();
45 void initApplePaths();
46 void initAndroidPaths();
49 std::string m_userDatadir;
50 std::string m_userBindir;
51 std::string m_userLibdir;
52 std::vector<std::string> m_libdirs;
53 std::vector<std::string> m_bindirs;
54 std::vector<std::string> m_datadirs;
std::vector< std::string > Libdirs()
List of directories from which we load plugins.
std::string UserLibdir()
The single, user-writable directory for installing .dll files.
std::string Homedir() const
home directory, convenience stuff.
std::string UserDatadir()
The single, user-writable common parent for plugin data directories, typically ending in 'plugins'.
std::vector< std::string > Bindirs()
'List of directories for plugin binary helpers.
std::string UserBindir()
The single, user-writable directory for installing helper binaries.
std::vector< std::string > Datadirs()
List of directories containing plugin data, each element typically ends in 'plugins'.
static PluginPaths * getInstance()
Return the singleton instance.