#include <pluginloader.h>
Public Member Functions | |
Plugin (unsigned int type, QString file) | |
Inits a plugin. More... | |
void * | function (const char *func) const |
Returns a pointer to the requested function or nullptr. More... | |
EnginePlugin * | info () const |
Main plugin interface. More... | |
void | initConfig () |
bool | isValid () const |
This class handles one specific plugin. It allows for cross-platform access to the plugins.
Definition at line 44 of file pluginloader.h.
PluginLoader::Plugin::Plugin | ( | unsigned int | type, |
QString | file | ||
) |
Inits a plugin.
type | Magic number which is compared with any possible plugins to confirm it is the right type. |
file | Path to plugin file. |
void * PluginLoader::Plugin::function | ( | const char * | func | ) | const |
Returns a pointer to the requested function or nullptr.
Definition at line 142 of file pluginloader.cpp.
EnginePlugin * PluginLoader::Plugin::info | ( | ) | const |
Main plugin interface.
Definition at line 147 of file pluginloader.cpp.