00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date$ 00006 Version: $Revision: 14620 $ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 #ifndef MITKQTDATAMANAGERDLL_H_ 00019 #define MITKQTDATAMANAGERDLL_H_ 00020 00021 // 00022 // The following block is the standard way of creating macros which make exporting 00023 // from a DLL simpler. All files within this DLL are compiled with the org_mitk_gui_qt_application_EXPORTS 00024 // symbol defined on the command line. this symbol should not be defined on any project 00025 // that uses this DLL. This way any other project whose source files include this file see 00026 // MITK_QT_APP functions as being imported from a DLL, wheras this DLL sees symbols 00027 // defined with this macro as being exported. 00028 // 00029 #if defined(_WIN32) && !defined(BERRY_STATIC) 00030 #if defined(org_mitk_gui_qt_datamanager_EXPORTS) 00031 #define MITK_QT_DATAMANAGER __declspec(dllexport) 00032 #else 00033 #define MITK_QT_DATAMANAGER __declspec(dllimport) 00034 #endif 00035 #endif 00036 00037 #if !defined(MITK_QT_DATAMANAGER) 00038 #define MITK_QT_DATAMANAGER 00039 #endif 00040 00041 #endif /*MITKQTDATAMANAGERDLL_H_*/