Fire Core  8.0.0.alpha
GIS framework per tutti gli usi
 Tutto Classi Namespace Funzioni Variabili Ridefinizioni di tipo (typedef) Tipi enumerati (enum) Valori del tipo enumerato Friend
export.hpp
1 /**********************************************************************
2  *
3  * FIREGEAR -
4  *
5  * Copyright (C) 2015 GeoSystems
6  *
7  * This is free software; you can redistribute and/or modify it under
8  * the terms of the GNU Lesser General Public Licence as published
9  * by the Free Software Foundation.
10  * See the COPYING file for more information.
11  *
12  **********************************************************************/
13 #ifndef FIRE_GIS_EXPORT_H
14 #define FIRE_GIS_EXPORT_H
15 
16 // Disabilito i warning in compilazione
17 // 4251 --> warning sulle interfacce dei membri privati di oggetti esposti dalla DLL
18 // 4100 --> unreferenced formal parameter
19 // 4702 --> unreachable-code
20 #ifdef _MSC_VER
21  #pragma warning(push)
22  // #pragma warning(disable: 4100)
23  // #pragma warning(disable: 4702)
24  #pragma warning(disable: 4251)
25 #endif
26 
27 #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)
28 
29 # if defined(FIRE_GIS_DLL_EXPORT)
30 # define FIRE_GIS_DLL __declspec(dllexport)
31 # elif defined(FIRE_GIS_DLL_IMPORT)
32 # define FIRE_GIS_DLL __declspec(dllimport)
33 # else
34 # define FIRE_GIS_DLL
35 # endif
36 
37 #else
38 # define FIRE_GIS_DLL
39 #endif
40 
41 #endif // FIRE_GIS_DLL_EXPORT