itom 2.2.1
K:/git-itom/sources/itom/plot/plotCommon.h
00001 /* ********************************************************************
00002     itom software
00003     URL: http://www.uni-stuttgart.de/ito
00004     Copyright (C) 2016, Institut fuer Technische Optik (ITO),
00005     Universitaet Stuttgart, Germany
00006 
00007     This file is part of itom and its software development toolkit (SDK).
00008 
00009     itom is free software; you can redistribute it and/or modify it
00010     under the terms of the GNU Library General Public Licence as published by
00011     the Free Software Foundation; either version 2 of the Licence, or (at
00012     your option) any later version.
00013    
00014     In addition, as a special exception, the Institut fuer Technische
00015     Optik (ITO) gives you certain additional rights.
00016     These rights are described in the ITO LGPL Exception version 1.0,
00017     which can be found in the file LGPL_EXCEPTION.txt in this package.
00018 
00019     itom is distributed in the hope that it will be useful, but
00020     WITHOUT ANY WARRANTY; without even the implied warranty of
00021     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library
00022     General Public Licence for more details.
00023 
00024     You should have received a copy of the GNU Library General Public License
00025     along with itom. If not, see <http://www.gnu.org/licenses/>.
00026 *********************************************************************** */
00027 
00028 #ifndef COMMONPLOT_H
00029 #define COMMONPLOT_H
00030 
00031 #if (defined ITOMLIBS_SHARED && ( defined(_Windows) || defined(_WINDOWS) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__) )) 
00032 
00033     #ifndef ITOMCOMMONPLOT_EXPORT
00034 
00035         /* Borland/Microsoft */
00036         #if defined(_MSC_VER) || defined(__BORLANDC__)
00037             #if (_MSC_VER >= 800) || (__BORLANDC__ >= 0x500)
00038             #else
00039                 #ifdef ITOMCOMMONPLOT_DLL
00040                     #define ITOMCOMMONPLOT_EXPORT __export
00041                 #else
00042                     #define ITOMCOMMONPLOT_EXPORT /*__import */ /* doesn't exist AFAIK in VC++ */
00043                 #endif                              /* Exists in Borland C++ for
00044                 C++ classes (== huge) */
00045             #endif
00046         #endif
00047 
00048         #ifndef ITOMCOMMONPLOT_EXPORT //ITOMCOMMONQT_EXPORT has not be defined yet
00049             #ifdef ITOMCOMMONPLOT_DLL
00050                 #define ITOMCOMMONPLOT_EXPORT __declspec(dllexport)
00051             #else
00052                 #define ITOMCOMMONPLOT_EXPORT __declspec(dllimport)
00053             #endif
00054         #endif
00055 
00056     #endif //ITOMCOMMONPLOT_EXPORT
00057 
00058 #endif //windows
00059 
00060 #ifndef ITOMCOMMONPLOT_EXPORT
00061     #define ITOMCOMMONPLOT_EXPORT
00062 #endif
00063 
00064 
00065 
00066 
00067 #endif // COMMONPLOT_H
00068 
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Friends