diff options
author | Paweł Kołodziejski | 2005-06-05 12:55:33 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2005-06-05 12:55:33 +0000 |
commit | bc65eb8ea51944c13a23ea4a7d1b54d228c5b7ea (patch) | |
tree | 36a22ed38562b42d97f7d41d059a81522538f95b /base/plugins.h | |
parent | e1aec42c63e4a782d978f21e56ea8d0fce2ed967 (diff) | |
download | scummvm-rg350-bc65eb8ea51944c13a23ea4a7d1b54d228c5b7ea.tar.gz scummvm-rg350-bc65eb8ea51944c13a23ea4a7d1b54d228c5b7ea.tar.bz2 scummvm-rg350-bc65eb8ea51944c13a23ea4a7d1b54d228c5b7ea.zip |
added code for loading dynamic plugins(DLLs) for windows
svn-id: r18356
Diffstat (limited to 'base/plugins.h')
-rw-r--r-- | base/plugins.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/base/plugins.h b/base/plugins.h index f9a5567834..11eb4a3e3f 100644 --- a/base/plugins.h +++ b/base/plugins.h @@ -92,10 +92,10 @@ public: #else #define REGISTER_PLUGIN(ID,name) \ extern "C" { \ - const char *PLUGIN_name() { return name; } \ - GameList PLUGIN_getSupportedGames() { return Engine_##ID##_gameList(); } \ - Engine *PLUGIN_createEngine(GameDetector *detector, OSystem *syst) { return Engine_##ID##_create(detector, syst); } \ - DetectedGameList PLUGIN_detectGames(const FSList &fslist) { return Engine_##ID##_detectGames(fslist); } \ + PLUGIN_EXPORT const char *PLUGIN_name() { return name; } \ + PLUGIN_EXPORT GameList PLUGIN_getSupportedGames() { return Engine_##ID##_gameList(); } \ + PLUGIN_EXPORT Engine *PLUGIN_createEngine(GameDetector *detector, OSystem *syst) { return Engine_##ID##_create(detector, syst); } \ + PLUGIN_EXPORT DetectedGameList PLUGIN_detectGames(const FSList &fslist) { return Engine_##ID##_detectGames(fslist); } \ } #endif |