|
AWE Core OS 8.B.22 Documentation
|
A struct encapsulating the functionality which can be provided by a plugin library. More...
#include <AWEPluginTypes.h>
Data Fields | |
| const char * | apiVersion |
| API version that this plugin was built with. More... | |
| const char * | pluginVersion |
| Optional plugin version. More... | |
| const char * | name |
| Optional plugin name. More... | |
| AWEPluginModuleArray | modules |
| List of module classes provided by the plugin. | |
| void(* | cleanup )(const struct _AWEPlugin *) |
| Optional destructor. More... | |
A struct encapsulating the functionality which can be provided by a plugin library.
This struct is to be returned by the plugin's AWEPlugin_initialize entrypoint. Optional fields can be set to NULL.
| const char* _AWEPlugin::apiVersion |
API version that this plugin was built with.
Should always be set to AWE_PLUGIN_API_VERSION
| const char* _AWEPlugin::pluginVersion |
Optional plugin version.
If the plugin has its own versioning scheme, use this to present that information to the loader. This is currently unused.
| const char* _AWEPlugin::name |
Optional plugin name.
Currently unused, but should be globally unique.
| void(* _AWEPlugin::cleanup) (const struct _AWEPlugin *) |
Optional destructor.
If set, the loader will call this function before it is freed. Use it to deallocate dynamic memory or any other cleanup task required by the plugin.