#include "OBT.h"
#include <string>
Go to the source code of this file.
Classes | |
class | OBT::PluginInterface |
Plugin interface. More... | |
Namespaces | |
namespace | OBT |
Defines | |
#define | OBT_EXPORT_API_DECL |
Export directive declaration. | |
#define | OBT_EXPORT_PLUGIN_API(PluginInterfaceImpl) |
Macro to declare the entry point of the plug-in. | |
#define | OBT_PLUGIN_HANDLE void* |
Dynamic library handler declaration. |
#define OBT_EXPORT_API_DECL |
Export directive declaration.
Needed for the Windows dll.
Definition at line 12 of file OBTPluginInterface.h.
#define OBT_EXPORT_PLUGIN_API | ( | PluginInterfaceImpl | ) |
extern "C" \ { \ OBT_EXPORT_API_DECL OBT::PluginInterface* get_OBT_PluginInterface() \ { \ static PluginInterfaceImpl _pluginInterface ; \ return &_pluginInterface ; \ } \ }
Macro to declare the entry point of the plug-in.
PluginInterfaceImpl | a class which implements the plug-in interface. |
The aim of this macro is to provide a simple way to declare the entry method of a plug-in which use an OBT::PluginInterface and can be loaded by a OBT::PluginLoader.
See How to export the plug-in entry method ?.
Definition at line 24 of file OBTPluginInterface.h.
#define OBT_PLUGIN_HANDLE void* |
Dynamic library handler declaration.
According to the platform.
Definition at line 40 of file OBTPluginInterface.h.
Referenced by OBT::PluginLoaderImpl::load().