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,
const 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
This class takes care of the actual loading of the libraries. You can use it to load a single plugin ...
static const std::string & getCurrentPluginFileName()
Gets the name of the plug-in library being loaded. If the plugin is statically linked into the tulip ...
A callback class when loading plugins into Tulip.