From bc65eb8ea51944c13a23ea4a7d1b54d228c5b7ea Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sun, 5 Jun 2005 12:55:33 +0000 Subject: added code for loading dynamic plugins(DLLs) for windows svn-id: r18356 --- base/plugins.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'base/plugins.h') 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 -- cgit v1.2.3