fw4spl
SrcLib/io/fwGdcmIO/include/fwGdcmIO/pch.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2017.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #ifndef __FWGDCMIO_PCH_HPP__
8 #define __FWGDCMIO_PCH_HPP__
9 
10 // We need this PCH because of Windows.
11 // These files need to be included first in each cpp, don't know why but this has been like this for ages...
12 // The #ifdef is just a hack to prevents sheldon from reordering the includes
13 #ifdef WIN32
14 #include <gdcmSurfaceHelper.h>
15 #include <gdcmUIDGenerator.h>
16 #endif // WIN32
17 
18 #include <fwData/Image.hpp>
19 
20 #include <fwMedData/DicomSeries.hpp>
21 #include <fwMedData/Equipment.hpp>
22 #include <fwMedData/ImageSeries.hpp>
23 #include <fwMedData/Patient.hpp>
24 #include <fwMedData/Study.hpp>
25 
26 #ifndef WIN32
27 #include <gdcmSurfaceHelper.h>
28 #include <gdcmUIDGenerator.h>
29 #endif // WIN32
30 
31 #endif // __FWGDCMIO_PCH_HPP__