PluginLoader::Plugin Class Reference

#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...
EnginePlugininfo () const
 Main plugin interface. More...
void initConfig ()
bool isValid () const

Detailed Description

This class handles one specific plugin. It allows for cross-platform access to the plugins.

Definition at line 44 of file pluginloader.h.

Constructor & Destructor Documentation

PluginLoader::Plugin::Plugin ( unsigned int  type,
QString  file 

Inits a plugin.

typeMagic number which is compared with any possible plugins to confirm it is the right type.
filePath to plugin file.

Member Function Documentation

void * PluginLoader::Plugin::function ( const char *  func) const

Returns a pointer to the requested function or NULL.

Definition at line 108 of file pluginloader.cpp.

EnginePlugin * PluginLoader::Plugin::info ( ) const

Main plugin interface.

Definition at line 113 of file pluginloader.cpp.

The documentation for this class was generated from the following files: