source: branches/4.0.0/components/native/itk-plugin/itkBioFormatsIOWin32Header.h @ 4872

Revision 4872, 1.7 KB checked in by melissa, 11 years ago (diff)

Synced 4.0.0 branch with trunk, excluding r4804.

Line 
1//
2// itkBioFormatsIOWin32Header.h
3//
4
5/*
6OME Bio-Formats package for reading and converting biological file formats.
7Copyright (C) 2005-@year@ UW-Madison LOCI and Glencoe Software, Inc.
8
9This program is free software; you can redistribute it and/or modify
10it under the terms of the GNU General Public License as published by
11the Free Software Foundation; either version 3 of the License, or
12(at your option) any later version.
13
14This program is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License
20along with this program; if not, write to the Free Software
21Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22*/
23
24/*
25Adapted from the Slicer3 project: http://www.slicer.org/
26http://viewvc.slicer.org/viewcvs.cgi/trunk/Libs/MGHImageIO/
27
28See slicer-license.txt for licensing information.
29
30For more information about the ITK Plugin IO mechanism, see:
31http://www.itk.org/Wiki/Plugin_IO_mechanisms
32*/
33
34// .NAME itkBioFormatsImageIOWin32Header - manage Windows system differences
35// .SECTION Description
36// The itkBioFormatsImageIOWin32Header captures some system differences
37// between Unix and Windows operating systems.
38
39#ifndef __itkBioFormatsImageIOWin32Header_h
40#define __itkBioFormatsImageIOWin32Header_h
41
42#include <itkBioFormatsImageIOConfigure.h>
43
44#if defined(WIN32) && !defined(BIO_FORMATS_IO_STATIC)
45#if defined(BIO_FORMATS_IO_EXPORTS)
46#define BioFormatsImageIO_EXPORT __declspec( dllexport )
47#else
48#define BioFormatsImageIO_EXPORT __declspec( dllimport )
49#endif
50#else
51#define BioFormatsImageIO_EXPORT
52#endif
53
54#endif
Note: See TracBrowser for help on using the repository browser.