| 1 | /*****************************************************************************/ |
| 2 | /* Template for version 2.0 plugins. */ |
| 3 | /* Contact: [email protected] */ |
| 4 | /*****************************************************************************/ |
| 5 | /* That code is placed under the GNU General Public Licence (GPL) */ |
| 6 | /* (C)2001-2005 by Chachkoff Yann (Feel free to deliver your complaints) */ |
| 7 | /*****************************************************************************/ |
| 8 | /* CrossFire, A Multiplayer game for X-windows */ |
| 9 | /* */ |
| 10 | /* Copyright (C) 2000 Mark Wedel */ |
| 11 | /* Copyright (C) 1992 Frank Tore Johansen */ |
| 12 | /* */ |
| 13 | /* This program is free software; you can redistribute it and/or modify */ |
| 14 | /* it under the terms of the GNU General Public License as published by */ |
| 15 | /* the Free Software Foundation; either version 2 of the License, or */ |
| 16 | /* (at your option) any later version. */ |
| 17 | /* */ |
| 18 | /* This program is distributed in the hope that it will be useful, */ |
| 19 | /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ |
| 20 | /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ |
| 21 | /* GNU General Public License for more details. */ |
| 22 | /* */ |
| 23 | /* You should have received a copy of the GNU General Public License */ |
| 24 | /* along with this program; if not, write to the Free Software */ |
| 25 | /* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ |
| 26 | /* */ |
| 27 | /*****************************************************************************/ |
| 28 | |
| 29 | /** |
| 30 | * @file |
| 31 | * This file is part of the @ref plugin_rhg "random house generation plugin". |
| 32 | * See this page for more information. |
| 33 | * @ingroup plugin_rhg |
| 34 | * @{ |
| 35 | */ |
| 36 | |
| 37 | #ifndef PLUGIN_cfrhg_H |
| 38 | #define PLUGIN_cfrhg_H |
| 39 | |
| 40 | #define PLUGIN_NAME "cfrhg" |
| 41 | #define PLUGIN_VERSION "Random house generator plugin version 1.0" |
| 42 | |
| 43 | #include <plugin.h> |
| 44 | |
| 45 | #undef MODULEAPI |
| 46 | #ifdef WIN32 |
| 47 | # ifdef PYTHON_PLUGIN_EXPORTS |
| 48 | # define MODULEAPI __declspec(dllexport) |
| 49 | # else |
| 50 | # define MODULEAPI __declspec(dllimport) |
| 51 | # endif |
| 52 | #else |
| 53 | #ifdef HAVE_VISIBILITY |
| 54 | # define MODULEAPI __attribute__((visibility("default"))) |
| 55 | #else |
| 56 | # define MODULEAPI |
| 57 | #endif |
| 58 | #endif |
| 59 | |
| 60 | #include <plugin_common.h> |
| 61 | #include <cfrhg.h> |
| 62 | |
| 63 | extern f_plug_api gethook; |
| 64 | |
| 65 | /*@}*/ |
| 66 | |
| 67 | #endif /* PLUGIN_cfrhg_H */ |