Crossfire Server, Branch 1.12  R12190
cflogger.h
Go to the documentation of this file.
00001 /*****************************************************************************/
00002 /* Template for version 2.0 plugins.                                         */
00003 /* Contact: yann.chachkoff@myrealbox.com                                     */
00004 /*****************************************************************************/
00005 /* That code is placed under the GNU General Public Licence (GPL)            */
00006 /* (C)2001-2005 by Chachkoff Yann (Feel free to deliver your complaints)     */
00007 /*****************************************************************************/
00008 /*  CrossFire, A Multiplayer game for X-windows                              */
00009 /*                                                                           */
00010 /*  Copyright (C) 2000 Mark Wedel                                            */
00011 /*  Copyright (C) 1992 Frank Tore Johansen                                   */
00012 /*                                                                           */
00013 /*  This program is free software; you can redistribute it and/or modify     */
00014 /*  it under the terms of the GNU General Public License as published by     */
00015 /*  the Free Software Foundation; either version 2 of the License, or        */
00016 /*  (at your option) any later version.                                      */
00017 /*                                                                           */
00018 /*  This program is distributed in the hope that it will be useful,          */
00019 /*  but WITHOUT ANY WARRANTY; without even the implied warranty of           */
00020 /*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            */
00021 /*  GNU General Public License for more details.                             */
00022 /*                                                                           */
00023 /*  You should have received a copy of the GNU General Public License        */
00024 /*  along with this program; if not, write to the Free Software              */
00025 /*  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                */
00026 /*                                                                           */
00027 /*****************************************************************************/
00028 #ifndef PLUGIN_TEMPLATE_H
00029 #define PLUGIN_TEMPLATE_H
00030 
00032 #define PLUGIN_NAME    "SqliteLogger"
00033 
00034 #define PLUGIN_VERSION "Sqlite Logger Plugin 1.0 alpha"
00035 
00036 #ifndef __CEXTRACT__
00037 #include <plugin.h>
00038 #endif
00039 
00040 #undef MODULEAPI
00041 #ifdef WIN32
00042 #ifdef PYTHON_PLUGIN_EXPORTS
00043 #define MODULEAPI __declspec(dllexport)
00044 #else
00045 #define MODULEAPI __declspec(dllimport)
00046 #endif
00047 
00048 #else
00049 #define MODULEAPI
00050 #endif
00051 
00052 #include <plugin_common.h>
00053 
00054 extern f_plug_api gethook;
00055 
00056 #endif /* PLUGIN_TEMPLATE_H */