Loading and Unloading the Plugin, General Functionality
Enumerations | |
enum | CryptPlugWrapper::InitStatus { InitStatus_undef = 0, InitStatus_Ok = 1, InitStatus_NoLibName = 2, InitStatus_LoadError = 0x1000, InitStatus_InitError = 0x2000 } |
Functions | |
bool | CryptPlug::initialize (void) |
bool | CryptPlug::hasFeature (Feature) |
void | CryptPlugWrapper::deinitialize () |
InitStatus | CryptPlugWrapper::initStatus (QString *errorMsg) const |
bool | CryptPlugWrapper::hasFeature (Feature) |
Detailed Description
The functions in this section are used for loading and unloading plugins. Note that the actual locating of the plugin and the loading and unloading of the dynamic library is not covered here; this is MUA-specific code for which support code might already exist in the programming environments.Enumeration Type Documentation
|
Current initialization state.
This flag holding status of previous call of initialize function. If initialize was not called before return value will be
Definition at line 468 of file cryptplugwrapper.h. |
Function Documentation
|
This function sets up all internal structures.
Plugins that need no initialization should provide an empty implementation. The method returns
Definition at line 273 of file cryptplug.cpp. |
|
This function frees all internal structures.This function returns Not all plugins will support all features; a complete Sphinx implementation will support all features contained in the enum, however.
Definition at line 280 of file cryptplug.cpp. |
|
This function unloads the lib and frees all internal structures. After this function has been called, no other plugin functions should be called; the behavior is undefined in this case.
Definition at line 542 of file cryptplugwrapper.cpp. Referenced by CryptPlugWrapper::~CryptPlugWrapper(). |
|
Returns this CRYPTPLUG wrapper's initialization state.
Definition at line 550 of file cryptplugwrapper.cpp. |
|
This function returns Not all plugins will support all features; a complete Sphinx implementation will support all features contained in the enum, however.
Definition at line 558 of file cryptplugwrapper.cpp. |