#include <pluginloader.h>
Public Member Functions | |
Plugin (unsigned int type, QString file) | |
void * | function (const char *func) const |
void | initConfig () |
bool | isValid () const |
Public Attributes | |
const EnginePlugin * | info |
This class handles one specific plugin. It allows for cross-platform access to the plugins.
PluginLoader::Plugin::Plugin | ( | unsigned int | type, |
QString | file | ||
) |
Inits a plugin. Type is an id which it compares with any possible plugins to confirm it is the right type.
void * PluginLoader::Plugin::function | ( | const char * | func | ) | const |
Returns a pointer to the requested function or NULL.