Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

pexport.h

Go to the documentation of this file.
00001 /*
00002  *   P::Classes - Portable C++ Application Framework
00003  *   Copyright (C) 2000-2003  Christian Prochnow <cproch@seculogix.de>
00004  *
00005  *   This library is free software; you can redistribute it and/or
00006  *   modify it under the terms of the GNU Lesser General Public
00007  *   License as published by the Free Software Foundation; either
00008  *   version 2 of the License, or (at your option) any later version.
00009  *
00010  *   This library is distributed in the hope that it will be useful,
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  *   Lesser General Public License for more details.
00014  *
00015  *   You should have received a copy of the GNU Lesser General Public
00016  *   License along with this library; if not, write to the Free Software
00017  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018  */
00019 
00020 #ifndef _pexport_h_
00021 #define _pexport_h_
00022 
00023 #ifdef WIN32
00024   #define CXX_CLASS_EXPORT __declspec(dllexport)
00025   #define CXX_CLASS_IMPORT __declspec(dllimport)
00026 #else
00027   #define CXX_CLASS_EXPORT
00028   #define CXX_CLASS_IMPORT
00029 #endif
00030 
00031 #ifdef PCORE_BUILD
00032   #define PCORE_EXPORT CXX_CLASS_EXPORT
00033 #else
00034   #define PCORE_EXPORT CXX_CLASS_IMPORT
00035 #endif
00036 
00037 #ifdef PNET_BUILD
00038   #define PNET_EXPORT CXX_CLASS_EXPORT
00039 #else
00040   #define PNET_EXPORT CXX_CLASS_IMPORT
00041 #endif
00042 
00043 #ifdef PIO_BUILD
00044   #define PIO_EXPORT CXX_CLASS_EXPORT
00045 #else
00046   #define PIO_EXPORT CXX_CLASS_IMPORT
00047 #endif
00048 
00049 #ifdef PSQL_BUILD
00050   #define PSQL_EXPORT CXX_CLASS_EXPORT
00051 #else
00052   #define PSQL_EXPORT CXX_CLASS_IMPORT
00053 #endif
00054 
00055 #ifdef PCRYPTO_BUILD
00056   #define PCRYPTO_EXPORT CXX_CLASS_EXPORT
00057 #else
00058   #define PCRYPTO_EXPORT CXX_CLASS_IMPORT
00059 #endif
00060 
00061 #ifdef PGUI_BUILD
00062   #define PGUI_EXPORT CXX_CLASS_EXPORT
00063 #else
00064   #define PGUI_EXPORT CXX_CLASS_IMPORT
00065 #endif
00066 
00067 #endif

Generated on Fri Mar 12 21:08:31 2004 for P::Classes by doxygen 1.3.3