Slicer 5.13
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
itkMRMLIDIOPlugin.h
Go to the documentation of this file.
1#ifndef itkMRMLIDIOPlugin_h
2#define itkMRMLIDIOPlugin_h
3
4#include "itkObjectFactoryBase.h"
5
6// TRANSIENT ITK-VERSION SHIM: delete once Slicer's minimum ITK always defines
7// ITK_LOAD_FUNCTION_NAME -- ITK main once #6787 merges, and release-5.4 from
8// whichever patch release carries its backport. Guarded on the macro rather
9// than on ITK_VERSION_MAJOR/ITK_VERSION_MINOR because ITK main is 6.0.0 both
10// before and after the merge, so no ITK_VERSION comparison distinguishes them;
11// this comment carries the ITK_VERSION marker so the shim greps out with the
12// rest of the version-conditional code. ITK releases without the macro
13// hardcode "itkLoad" in LoadLibrariesInPath, so that is its only correct value.
14#ifndef ITK_LOAD_FUNCTION_NAME
15# define ITK_LOAD_FUNCTION_NAME itkLoad
16#endif
17
18#ifdef _WIN32
19# ifdef MRMLIDIOPlugin_EXPORTS
20# define MRMLIDIOPlugin_EXPORT __declspec(dllexport)
21# else
22# define MRMLIDIOPlugin_EXPORT __declspec(dllimport)
23# endif
24#else
25# define MRMLIDIOPlugin_EXPORT
26#endif
27
34extern "C"
35{
36 MRMLIDIOPlugin_EXPORT itk::ObjectFactoryBase* ITK_LOAD_FUNCTION_NAME();
37}
38#endif
#define ITK_LOAD_FUNCTION_NAME
#define MRMLIDIOPlugin_EXPORT