20 #ifndef PLUGINLIBLOADER_H
21 #define PLUGINLIBLOADER_H
23 #ifndef DOXYGEN_NOTFOR_USER
28 #include <tulip/tulipconf.h>
70 static void loadPlugins(
PluginLoader *loader = NULL, std::string pluginPath =
"");
79 static bool loadPluginLibrary(
const std::string & filename,
PluginLoader *loader = NULL);
89 return getInstance()->currentPluginLibrary;
95 bool loadNextPluginLibrary(PluginLoader *loader);
97 bool initPluginDir(PluginLoader *loader);
100 static PluginLibraryLoader* getInstance() {
101 if(_instance == NULL) {
102 _instance =
new PluginLibraryLoader();
107 static PluginLibraryLoader* _instance;
110 std::string pluginPath;
111 std::string currentPluginLibrary;
115 #endif //DOXYGEN_NOTFOR_USER
116 #endif //PLUGINLIBLOADER_H