ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

internal_plugins.h

Go to the documentation of this file.
00001 #if !defined(INCLUDED_FROM_BASE_PLUGINS_H) && !defined(RC_INVOKED)
00002 #error This file may only be included by base/plugins.h or dists/scummvm.rc
00003 #endif
00004 
00005 // plugin macros are defined in this simple internal header so that scummvm.rc
00006 //  can include them without causing problems for Windows resource compilers.
00007 
00008 #define STATIC_PLUGIN 1
00009 #define DYNAMIC_PLUGIN 2
00010 
00011 #define PLUGIN_ENABLED_STATIC(ID) \
00012     (ENABLE_##ID && !PLUGIN_ENABLED_DYNAMIC(ID))
00013 
00014 #ifdef DYNAMIC_MODULES
00015     #define PLUGIN_ENABLED_DYNAMIC(ID) \
00016         (ENABLE_##ID && (ENABLE_##ID == DYNAMIC_PLUGIN))
00017 #else
00018     #define PLUGIN_ENABLED_DYNAMIC(ID) 0
00019 #endif


Generated on Sat May 30 2020 05:00:36 for ResidualVM by doxygen 1.7.1
curved edge   curved edge