#include "OBTPluginInterface.h"
#include "OBTPluginInformation.h"
Go to the source code of this file.
Classes | |
class | OBT::BasicPlugin |
Basic plugin. More... | |
Namespaces | |
namespace | OBT |
Defines | |
#define | OBT_EXPORT_BASIC_PLUGIN_API(Informations) |
Macro to declare the entry point of a basic plugin. |
#define OBT_EXPORT_BASIC_PLUGIN_API | ( | Informations | ) |
extern "C" \ { \ OBT_EXPORT_API_DECL OBT::PluginInterface* get_OBT_PluginInterface() \ { \ static OBT::BasicPlugin _pluginInterface( Informations ) ; \ return &_pluginInterface ; \ } \ }
Macro to declare the entry point of a basic plugin.
Informations | a OBT::PluginInformation object which defines the informations of the plugin. |
The aim of this macro is to provide a simple way to declare the entry method of a plugin which uses an OBT::BasicPlugin and can be loaded by a OBT::PluginLoader.
See How to export the plug-in entry method ?.
Definition at line 17 of file OBTBasicPlugin.h.