Mod/Part/App/PreCompiled.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (c) Jürgen Riegel          (juergen.riegel@web.de) 2002     *
00003  *                                                                         *
00004  *   This file is part of the FreeCAD CAx development system.              *
00005  *                                                                         *
00006  *   This library is free software; you can redistribute it and/or         *
00007  *   modify it under the terms of the GNU Library General Public           *
00008  *   License as published by the Free Software Foundation; either          *
00009  *   version 2 of the License, or (at your option) any later version.      *
00010  *                                                                         *
00011  *   This library  is distributed in the hope that it will be useful,      *
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00014  *   GNU Library General Public License for more details.                  *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU Library General Public     *
00017  *   License along with this library; see the file COPYING.LIB. If not,    *
00018  *   write to the Free Software Foundation, Inc., 59 Temple Place,         *
00019  *   Suite 330, Boston, MA  02111-1307, USA                                *
00020  *                                                                         *
00021  ***************************************************************************/
00022 
00023 
00024 #ifndef PART_PRECOMPILED_H
00025 #define PART_PRECOMPILED_H
00026 
00027 #include <FCConfig.h>
00028 
00029 
00030 // Exporting of App classes
00031 #ifdef FC_OS_WIN32
00032 # define PartExport __declspec(dllexport)
00033 #else // for Linux
00034 # define PartExport
00035 #endif
00036 
00037 // here get the warnings of too long specifiers disabled (needed for VC6)
00038 #ifdef _MSC_VER
00039 #       pragma warning( disable : 4251 )
00040 #       pragma warning( disable : 4275 )
00041 #       pragma warning( disable : 4503 )
00042 #       pragma warning( disable : 4786 )  // specifier longer then 255 chars
00043 #endif
00044 
00045 
00046 #ifdef _PreComp_
00047 
00048 // standard
00049 #include <list>
00050 #include <iostream>
00051 #include <sstream>
00052 #include <stdio.h>
00053 #include <io.h>
00054 #include <fcntl.h>
00055 #include <assert.h>
00056 
00057 #include <vector>
00058 #include <list>
00059 #include <set>
00060 #include <map>
00061 
00062 // Boost
00063 #include <boost/signals.hpp>
00064 #include <boost/bind.hpp>
00065 
00066 #include <boost/tuple/tuple.hpp>
00067 #include <boost/utility.hpp>
00068 #include <boost/graph/adjacency_list.hpp>
00069 
00070 #include <boost/program_options.hpp>
00071 //namespace po = boost::program_options;
00072 
00073 #include <boost/filesystem/path.hpp>
00074 #include <boost/filesystem/operations.hpp>
00075 #include <boost/filesystem/exception.hpp>
00076 
00077 #include "OpenCascadeAll.h"
00078 
00079 #elif defined(FC_OS_WIN32)
00080 #include <windows.h>
00081 #endif //_PreComp_
00082 
00083 #ifndef _Standard_Version_HeaderFile
00084 #include <Standard_Version.hxx>
00085 #endif
00086 
00087 #if defined(OCC_VERSION_MAJOR) && defined(OCC_VERSION_MINOR) && defined(OCC_VERSION_MAINTENANCE)
00088 #   define OCC_HEX_VERSION ((OCC_VERSION_MAJOR<<16)+(OCC_VERSION_MINOR<<8)+(OCC_VERSION_MAINTENANCE))
00089 #else
00090 #   define OCC_HEX_VERSION 0x050000 // use an old version
00091 #endif
00092 
00093 
00094 #endif

Generated on Wed Nov 23 19:00:29 2011 for FreeCAD by  doxygen 1.6.1