00001 /* 00002 Last changed Time-stamp: <2005-10-26 17:24:50 raim> 00003 $Id: exportdefs.h,v 1.5 2005/10/26 15:32:13 raimc Exp $ 00004 */ 00005 /* 00006 * 00007 * This library is free software; you can redistribute it and/or modify it 00008 * under the terms of the GNU Lesser General Public License as published 00009 * by the Free Software Foundation; either version 2.1 of the License, or 00010 * any later version. 00011 * 00012 * This library is distributed in the hope that it will be useful, but 00013 * WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF 00014 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. The software and 00015 * documentation provided hereunder is on an "as is" basis, and the 00016 * authors have no obligations to provide maintenance, support, 00017 * updates, enhancements or modifications. In no event shall the 00018 * authors be liable to any party for direct, indirect, special, 00019 * incidental or consequential damages, including lost profits, arising 00020 * out of the use of this software and its documentation, even if the 00021 * authors have been advised of the possibility of such damage. See 00022 * the GNU Lesser General Public License for more details. 00023 * 00024 * You should have received a copy of the GNU Lesser General Public License 00025 * along with this library; if not, write to the Free Software Foundation, 00026 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 00027 * 00028 * The original code contained here was initially developed by: 00029 * 00030 * Andrew Finney 00031 * 00032 * Contributor(s): 00033 */ 00034 00035 /* The following ifdef block is the standard way of creating macros 00036 which make exporting from a DLL simpler. All files within this DLL are 00037 compiled with the SBML_ODESOLVER_EXPORTS symbol defined on the command 00038 line. this symbol should not be defined on any project that uses this 00039 DLL. This way any other project whose source files include this file 00040 see SBML_ODESOLVER_API functions as being imported from a DLL, whereas 00041 this DLL sees symbols defined with this macro as being exported. */ 00042 #ifdef WIN32 00043 #ifdef SBML_ODESOLVER_EXPORTS 00044 #define SBML_ODESOLVER_API __declspec(dllexport) 00045 #else 00046 #define SBML_ODESOLVER_API __declspec(dllimport) 00047 #endif 00048 #else 00049 #define SBML_ODESOLVER_API 00050 #endif 00051 00052 /* examples of use... 00053 00054 // This class is exported from the SBML_odeSolver.dll 00055 class SBML_ODESOLVER_API CSBML_odeSolver { 00056 public: 00057 CSBML_odeSolver(void); 00058 // TODO: add your methods here. 00059 }; 00060 00061 extern SBML_ODESOLVER_API int nSBML_odeSolver; 00062 00063 SBML_ODESOLVER_API int fnSBML_odeSolver(void); 00064 00065 */ 00066