OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimPluginConstants.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 // Copyright (c) 2005, David Burken, all rights reserved.
3 //
4 // License: MIT
5 //
6 // See LICENSE.txt file in the top level directory for more details.
7 //
8 // Author: David Burken
9 //
10 // Description: Constants file for ossim plugins.
11 //
12 // $Id: ossimPluginConstants.h 20616 2012-02-27 13:22:24Z gpotts $
13 //----------------------------------------------------------------------------
14 #ifndef ossimPluginConstants_HEADER
15 #define ossimPluginConstants_HEADER
16 
20 #if defined(OSSIM_STATIC)
21 # define OSSIMPLUGINSEXPORT
22 # define OSSIMPLUGINSIMPORT
23 # define OSSIMPLUGINSDLLEXPORT
24 # define OSSIM_PLUGINS_DLL
25 #elif defined(__MINGW32__) || defined(__CYGWIN__) || defined(_MSC_VER) || defined(__VISUALC__) || defined(__BORLANDC__) || defined(__WATCOMC__)
26 # define OSSIMPLUGINSEXPORT __declspec(dllexport)
27 # define OSSIMPLUGINSIMPORT __declspec(dllimport)
28 # ifdef OSSIMPLUGINSMAKINGDLL
29 # define OSSIMPLUGINSDLLEXPORT OSSIMPLUGINSEXPORT
30 # define OSSIM_PLUGINS_DLL OSSIMPLUGINSEXPORT
31 # else
32 # define OSSIMPLUGINSDLLEXPORT OSSIMPLUGINSIMPORT
33 # define OSSIM_PLUGINS_DLL OSSIMPLUGINSIMPORT
34 # endif
35 #else /* not #if defined(_MSC_VER) */
36 # define OSSIMPLUGINSEXPORT
37 # define OSSIMPLUGINSIMPORT
38 # define OSSIMPLUGINSDLLEXPORT
39 # define OSSIM_PLUGINS_DLL
40 #endif /* #if defined(_MSC_VER) */
41 
42 #endif /* #ifndef ossimPluginConstants_HEADER */