20 #ifndef PLUGINLIBLOADER_H
21 #define PLUGINLIBLOADER_H
23 #ifndef DOXYGEN_NOTFOR_USER
27 #include <tulip/PluginLoader.h>
28 #include <tulip/tulipconf.h>
67 static void loadPlugins(
PluginLoader *loader = NULL, std::string pluginPath =
"");
76 static bool loadPluginLibrary(
const std::string & filename,
PluginLoader *loader = NULL);
85 return getInstance()->currentPluginLibrary;
90 bool loadNextPluginLibrary(PluginLoader *loader);
92 void initPluginDir(PluginLoader *loader);
94 static PluginLibraryLoader* getInstance() {
95 if(_instance == NULL) {
96 _instance =
new PluginLibraryLoader();
101 static PluginLibraryLoader* _instance;
104 std::string pluginPath;
105 std::string currentPluginLibrary;
109 #endif //DOXYGEN_NOTFOR_USER
110 #endif //PLUGINLIBLOADER_H