#include <string>
#include <boost/shared_ptr.hpp>
#include "weStrings.h"
Go to the source code of this file.
Classes | |
interface | iwePlugin |
Basic interface for the plugins. More... | |
Typedefs | |
typedef void *(* | fnWePluginFactory )(void) |
Declares the pointer to the WePluginFactory function. | |
Functions | |
shared_ptr< iwePlugin > & | weLoadPlugin (const string &libName) |
Load plugin library. |
void *(* fnWePluginFactory)(void) |
Declares the pointer to the WePluginFactory function.
Definition at line 156 of file weiPlugin.h.
shared_ptr< iwePlugin > weLoadPlugin | ( | const string & | libName | ) |
Load plugin library.
This function performs the platform-specific actions to load dynamic library and obtain the iwePlugin interface.
The library must provide undecorated function (extern "C" specification) named WePluginFactory to create the new instance of the contained plugin. Each library contains only one plugin.
libName | - Name of the library. |
null | if it fails, the iwePlugin interface else. |
Definition at line 22 of file weiPlugin.cpp.
©2009 Positive Technologies |
Generated on Tue Jul 14 18:27:31 2009 for WebEngine by |
|
1.5.7 |
|