35 #ifndef IMS_EVENT_HANDLER_H__
36 #define IMS_EVENT_HANDLER_H__
39 #if defined _WIN32 || defined __CYGWIN__
41 #define DLL_EXPORT __attribute__ ((dllexport))
42 #define DLL_IMPORT __attribute__ ((dllimport))
44 #define DLL_EXPORT __declspec(dllexport) // Note: actually gcc seems to also supports this syntax.
45 #define DLL_IMPORT __declspec(dllimport) // Note: actually gcc seems to also supports this syntax.
50 #define DLL_EXPORT __attribute__ ((visibility ("default")))
51 #define DLL_IMPORT __attribute__ ((visibility ("default")))
52 #define DLL_LOCAL __attribute__ ((visibility ("hidden")))
60 #if defined(_EXPORTING_IMS)
61 #define LIBSPEC DLL_EXPORT
62 #define LIBLOCAL DLL_LOCAL
63 #define EXPIMP_TEMPLATE
64 #elif defined(_STATIC_IMS)
67 #define EXPIMP_TEMPLATE
69 #define LIBSPEC DLL_IMPORT
70 #define LIBLOCAL DLL_LOCAL
71 #define EXPIMP_TEMPLATE extern
160 virtual void EventAction(
void* sender,
const int message,
const int param = 0);
186 virtual void EventAction(
void* sender,
const int message,
const int param,
const int param2);
199 virtual void EventAction(
void* sender,
const int message,
const double param);
213 virtual void EventAction(
void* sender,
const int message,
const int param,
const std::vector<std::uint8_t> data);
222 #undef EXPIMP_TEMPLATE
The entire API is encapsulated by the iMS namespace.
Definition: Auxiliary.h:95
Interface Class for an Event Handler to be defined in User Code and subscribed to library events...
Definition: IEventHandler.h:146