source: branches/4.0.0/components/native/itk-plugin/itkBioFormatsIOPlugin.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// itkBioFormatsIOPlugin.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#ifndef __itkBioFormatsIOPlugin_h
35#define __itkBioFormatsIOPlugin_h
36
37#include "itkObjectFactoryBase.h"
38
39#ifdef WIN32
40#ifdef BioFormatsIOPlugin_EXPORTS
41#define BioFormatsIOPlugin_EXPORT __declspec(dllexport)
42#else
43#define BioFormatsIOPlugin_EXPORT __declspec(dllimport)
44#endif
45#else
46#define BioFormatsIOPlugin_EXPORT
47#endif
48
49/**
50 * Routine that is called when the shared library is loaded by
51 * itk::ObjectFactoryBase::LoadDynamicFactories().
52 *
53 * itkLoad() is C (not C++) function.
54 */
55extern "C" {
56  BioFormatsIOPlugin_EXPORT itk::ObjectFactoryBase* itkLoad();
57}
58#endif
Note: See TracBrowser for help on using the repository browser.