Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

DllSupport.h

Go to the documentation of this file.
00001 
00037 #ifndef _AMIRE_COMMON_DLL_SUPPORT_H
00038 #define _AMIRE_COMMON_DLL_SUPPORT_H
00039 
00040 // The following block will define the macros DLL_EXPORT and DLL_IMPORT
00041 // depending on which system is the target system. This macros will be used
00042 // to define exports and imports from a windows dll file.
00043 #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__)  || defined( __MWERKS__)
00044   #pragma warning(disable:4251)
00045   #pragma warning(disable:4512)
00046   #pragma warning(disable:4100)
00047   #pragma warning(disable:4702)
00048   #define DLL_EXPORT __declspec(dllexport)
00049   #define DLL_IMPORT __declspec(dllimport)
00050 #else
00051   #define DLL_EXPORT 
00052   #define DLL_IMPORT 
00053 #endif
00054 
00055 #ifdef AMIRE_DLL_EXPORTS
00056   #define AMIRE_EXPORT_API DLL_EXPORT
00057   #define AMIRE_IMPORT_API DLL_EXPORT
00058 #else
00059   #ifdef AMIRE_DLL_IMPORTS
00060     #define AMIRE_EXPORT_API DLL_EXPORT
00061     #define AMIRE_IMPORT_API DLL_IMPORT
00062   #else
00063     #define AMIRE_EXPORT_API 
00064     #define AMIRE_IMPORT_API 
00065   #endif
00066 #endif
00067 
00068 class AMIRE_EXPORT_API DLLInterface {
00069 public:
00070   virtual ~DLLInterface() {
00071   }
00072 };
00073 
00074 #endif

Generated on Tue May 20 17:23:52 2003 for AMIRE-Framework by doxygen1.3