24 #ifndef _QORE_MODULEMANAGER_H
26 #define _QORE_MODULEMANAGER_H
28 #include <qore/QoreThreadLock.h>
29 #include <qore/QoreString.h>
37 #define QORE_MODULE_API_MAJOR 0
38 #define QORE_MODULE_API_MINOR 16
40 #define QORE_MODULE_COMPAT_API_MAJOR 0
41 #define QORE_MODULE_COMPAT_API_MINOR 14
72 enum mod_op_e { MOD_OP_NONE, MOD_OP_EQ, MOD_OP_GT,
73 MOD_OP_GE, MOD_OP_LT, MOD_OP_LE };
89 DLLLOCAL ModuleManager& operator=(
const ModuleManager&);
143 DLLLOCAL ModuleManager();
149 static inline bool is_module_api_supported(
int major,
int minor) {
151 if (qore_mod_api_list[i].major == major && qore_mod_api_list[i].minor == minor)
156 #endif // _QORE_MODULEMANAGER_H