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