ScummVM API documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
internal_plugins.h
1
#if !defined(INCLUDED_FROM_BASE_PLUGINS_H) && !defined(RC_INVOKED)
2
#error This file may only be included by base/plugins.h or dists/scummvm.rc
3
#endif
4
5
// plugin macros are defined in this simple internal header so that scummvm.rc
6
// can include them without causing problems for Windows resource compilers.
7
8
#define STATIC_PLUGIN 1
9
#define DYNAMIC_PLUGIN 2
10
11
#define PLUGIN_ENABLED_STATIC(ID) \
12
(ENABLE_##ID && !PLUGIN_ENABLED_DYNAMIC(ID))
13
14
#ifdef DYNAMIC_MODULES
15
#define PLUGIN_ENABLED_DYNAMIC(ID) \
16
(ENABLE_##ID && (ENABLE_##ID == DYNAMIC_PLUGIN))
17
#else
18
#define PLUGIN_ENABLED_DYNAMIC(ID) 0
19
#endif
20
21
#define PLUGIN_ENABLED(ID) (ENABLE_##ID)
base
internal_plugins.h
Generated on Wed Apr 9 2025 09:04:22 for ScummVM API documentation by
1.8.13