00001 00002 #ifndef __PEONDLLHEADER_H_ 00003 #define __PEONDLLHEADER_H_ 00004 /* 00005 Peon - Win32 Games Programming Library 00006 Copyright (C) 2002-2005 Erik Yuzwa 00007 00008 This library is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU Library General Public 00010 License as published by the Free Software Foundation; either 00011 version 2 of the License, or (at your option) any later version. 00012 00013 This library is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 Library General Public License for more details. 00017 00018 You should have received a copy of the GNU Library General Public 00019 License along with this library; if not, write to the Free 00020 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00021 00022 Erik Yuzwa 00023 peon AT wazooinc DOT com 00024 */ 00025 00026 00027 // The following ifdef block is the standard way of creating macros which make exporting 00028 // from a DLL simpler. All files within this DLL are compiled with the PEONMAIN_EXPORTS 00029 // symbol defined on the command line. this symbol should not be defined on any project 00030 // that uses this DLL. This way any other project whose source files include this file see 00031 // PEONMAIN_API functions as being imported from a DLL, whereas this DLL sees symbols 00032 // defined with this macro as being exported. 00033 // 00034 // In practical terms you just put the PEONMAIN_EXPORTS declaration on any object 00035 // that you want to be able to call from your application. 00036 // 00037 #ifdef PEONMAIN_EXPORTS 00038 #define PEONMAIN_API __declspec(dllexport) 00039 #else 00040 #define PEONMAIN_API __declspec(dllimport) 00041 #endif 00042 00043 00044 00045 #endif 00046 00047 00048 00049 00050 00051 00052 00053 00054