Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
ExamplesDll.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef _EXAMPLES_EXPORT_DLL_H_
18 #define _EXAMPLES_EXPORT_DLL_H_
19 
20 //
21 // The following block is the standard way of creating macros which make exporting
22 // from a DLL simpler. All files within this DLL are compiled with the org_mitk_gui_qt_examples_EXPORTS
23 // symbol defined on the command line. this symbol should not be defined on any project
24 // that uses this DLL. This way any other project whose source files include this file see
25 // org_mitk_gui_qt_examples_EXPORTS functions as being imported from a DLL, wheras this DLL sees symbols
26 // defined with this macro as being exported.
27 //
28 #if defined(_WIN32) && !defined(MITK_STATIC)
29 #if defined(org_mitk_gui_qt_examples_EXPORTS)
30 #define EXAMPLES_EXPORT __declspec(dllexport)
31 #else
32 #define EXAMPLES_EXPORT __declspec(dllimport)
33 #endif
34 #endif
35 
36 #if !defined(EXAMPLES_EXPORT)
37 #define EXAMPLES_EXPORT
38 #endif
39 
40 #endif /*_EXAMPLES_EXPORT_DLL_H_*/