00001 00002 // Name: httpenginedef.h 00003 // Purpose: shared build defines 00004 // Author: Francesco Montorsi 00005 // Created: 2005/07/26 00006 // RCS-ID: $Id: httpenginedef.h,v 1.1 2006/10/11 16:14:58 ndellamico Exp $ 00007 // Copyright: (c) 2005 Francesco Montorsi and Angelo Mandato 00008 // Licence: wxWidgets licence 00010 00011 00012 #ifndef _WX_HTTPENGINE_DEFS_H_ 00013 #define _WX_HTTPENGINE_DEFS_H_ 00014 00015 // Defines for shared builds. 00016 // Simple reference for using these macros and for writin components 00017 // which support shared builds: 00018 // 00019 // 1) use the WXDLLIMPEXP_HTTPENGINE in each class declaration: 00020 // class WXDLLIMPEXP_HTTPENGINE HTTPENGINEClass { [...] }; 00021 // 00022 // 2) use the WXDLLIMPEXP_HTTPENGINE in the declaration of each global function: 00023 // WXDLLIMPEXP_HTTPENGINE int myGlobalFunc(); 00024 // 00025 // 3) use the WXDLLIMPEXP_DATA_HTTPENGINE() in the declaration of each global 00026 // variable: 00027 // WXDLLIMPEXP_DATA_HTTPENGINE(int) myGlobalIntVar; 00028 // 00029 #ifdef WXMAKINGDLL_HTTPENGINE 00030 #define WXDLLIMPEXP_HTTPENGINE WXEXPORT 00031 #define WXDLLIMPEXP_DATA_HTTPENGINE(type) WXEXPORT type 00032 #elif defined(WXUSINGDLL) 00033 #define WXDLLIMPEXP_HTTPENGINE WXIMPORT 00034 #define WXDLLIMPEXP_DATA_HTTPENGINE(type) WXIMPORT type 00035 #else // not making nor using DLL 00036 #define WXDLLIMPEXP_HTTPENGINE 00037 #define WXDLLIMPEXP_DATA_HTTPENGINE(type) type 00038 #endif 00039 00040 #endif // _WX_HTTPENGINE_DEFS_H_ 00041
1.4.6-NO