weiPlugin.h File Reference

#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.


Typedef Documentation

void *(* fnWePluginFactory)(void)

Declares the pointer to the WePluginFactory function.

Author:
A. Abramov
Date:
19.06.2009

Definition at line 156 of file weiPlugin.h.


Function Documentation

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.

Author:
A. Abramov
Date:
19.06.2009
Parameters:
libName - Name of the library.
Return values:
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
 
Get wpcObj at SourceForge.net. Fast, secure and Free Open Source software downloads