#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 NULL. 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 NULL.
Definition at line 133 of file pluginloader.cpp.
| EnginePlugin * PluginLoader::Plugin::info | ( | ) | const |
Main plugin interface.
Definition at line 138 of file pluginloader.cpp.