20 #ifndef TLP_PLUGINLOADERTXT
21 #define TLP_PLUGINLOADERTXT
22 #include <tulip/PluginLoader.h>
31 void start(
const std::string &path)
override;
32 void loading(
const std::string &filename)
override;
33 void loaded(
const Plugin *info,
const std::list<Dependency> &)
override;
34 void aborted(
const std::string &filename,
const std::string &erreurmsg)
override;
35 void finished(
bool state,
const std::string &msg)
override;
Top-level interface for plug-ins.
A callback class when loading plugins into Tulip.
A simple implementation of tlp::PluginLoader to display load state into the console.
void loading(const std::string &filename) override
Indicates that a new file is being loaded.
void finished(bool state, const std::string &msg) override
Indicates that a file has finished being loaded.
void aborted(const std::string &filename, const std::string &erreurmsg) override
Indicates that an error occurred when trying to load a file.
void loaded(const Plugin *info, const std::list< Dependency > &) override
Indicates that a plugin has been loaded successfully.
void start(const std::string &path) override
Called when starting to load plugins into a given directory.