21 #ifndef PLUGINLIBLOADER_H
22 #define PLUGINLIBLOADER_H
27 #include <tulip/tulipconf.h>
43 class TLP_SCOPE PluginLibraryLoader {
70 static void loadPlugins(PluginLoader *loader =
nullptr,
const std::string &pluginPath =
"");
89 static void loadPluginsFromDir(
const std::string &rootPath, PluginLoader *loader =
nullptr,
90 const std::string &userLocalPath =
"");
100 static bool loadPluginLibrary(
const std::string &filename, PluginLoader *loader =
nullptr);
108 static const std::string &getCurrentPluginFileName() {
109 return _currentPluginLibrary;
113 PluginLibraryLoader() {}
114 static bool initPluginDir(PluginLoader *loader,
bool recursive =
false,
115 const std::string &userPluginsPath =
"");
116 static std::string _message;
117 static std::string _pluginPath;
118 static std::string _currentPluginLibrary;