Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef _EXAMPLES_EXPORT_DLL_H_
14 #define _EXAMPLES_EXPORT_DLL_H_
15 
16 //
17 // The following block is the standard way of creating macros which make exporting
18 // from a DLL simpler. All files within this DLL are compiled with the org_mitk_gui_qt_examples_EXPORTS
19 // symbol defined on the command line. this symbol should not be defined on any project
20 // that uses this DLL. This way any other project whose source files include this file see
21 // org_mitk_gui_qt_examples_EXPORTS functions as being imported from a DLL, whereas this DLL sees symbols
22 // defined with this macro as being exported.
23 //
24 #if defined(_WIN32) && !defined(MITK_STATIC)
25 #if defined(org_mitk_gui_qt_examples_EXPORTS)
26 #define EXAMPLES_EXPORT __declspec(dllexport)
27 #else
28 #define EXAMPLES_EXPORT __declspec(dllimport)
29 #endif
30 #endif
31 
32 #if !defined(EXAMPLES_EXPORT)
33 #define EXAMPLES_EXPORT
34 #endif
35 
36 #endif /*_EXAMPLES_EXPORT_DLL_H_*/