midgard/lib_midgard.h

00001 /* $Id: lib_midgard.h,v 1.1 2002/11/04 10:48:23 daniel Exp $
00002  *
00003  * midgard-lib: database access for Midgard clients
00004  *
00005  * Copyright (C) 1999 Jukka Zitting <jukka.zitting@iki.fi>
00006  * Copyright (C) 2000 The Midgard Project ry
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 General Public License
00019  * along with this library; see the file COPYING.  If not, write to
00020  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00021  * Boston, MA 02111-1307, USA.
00022  */
00023 
00024 // Der folgende ifdef-Block zeigt die Standardlösung zur Erstellung von Makros, die das Exportieren 
00025 // aus einer DLL vereinfachen. Alle Dateien in dieser DLL wurden mit dem in der Befehlszeile definierten
00026 // Symbol LIB_MIDGARD_EXPORTS kompiliert. Dieses Symbol sollte für kein Projekt definiert werden, das
00027 // diese DLL verwendet. Auf diese Weise betrachtet jedes andere Projekt, dessen Quellcodedateien diese Datei 
00028 // einbeziehen, LIB_MIDGARD_API-Funktionen als aus einer DLL importiert, während diese DLL mit diesem 
00029 // Makro definierte Symbole als exportiert betrachtet.
00030 #ifdef LIB_MIDGARD_EXPORTS
00031 #define LIB_MIDGARD_API __declspec(dllexport)
00032 #else
00033 #define LIB_MIDGARD_API __declspec(dllimport)
00034 #endif
00035 

Generated on Thu Feb 22 06:15:13 2007 for midgard-core by  doxygen 1.4.6