94 lines
3.0 KiB
C++
94 lines
3.0 KiB
C++
/***************************************************************************
|
|
* Copyright (c) 2002 Jürgen Riegel <juergen.riegel@web.de> *
|
|
* *
|
|
* This file is part of the FreeCAD CAx development system. *
|
|
* *
|
|
* This library is free software; you can redistribute it and/or *
|
|
* modify it under the terms of the GNU Library General Public *
|
|
* License as published by the Free Software Foundation; either *
|
|
* version 2 of the License, or (at your option) any later version. *
|
|
* *
|
|
* This library is distributed in the hope that it will be useful, *
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
* GNU Library General Public License for more details. *
|
|
* *
|
|
* You should have received a copy of the GNU Library General Public *
|
|
* License along with this library; see the file COPYING.LIB. If not, *
|
|
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
|
* Suite 330, Boston, MA 02111-1307, USA *
|
|
* *
|
|
***************************************************************************/
|
|
|
|
#ifndef PARTGUI_PRECOMPILED_H
|
|
#define PARTGUI_PRECOMPILED_H
|
|
|
|
#include <FCConfig.h>
|
|
|
|
#include <Mod/Part/PartGlobal.h>
|
|
|
|
// point at which warnings of overly long specifiers disabled (needed for VC6)
|
|
#ifdef _MSC_VER
|
|
# pragma warning( disable : 4251 )
|
|
# pragma warning( disable : 4503 )
|
|
# pragma warning( disable : 4786 ) // specifier longer then 255 chars
|
|
# pragma warning( disable : 4273 )
|
|
#endif
|
|
|
|
#ifdef FC_OS_WIN32
|
|
# ifndef NOMINMAX
|
|
# define NOMINMAX
|
|
# endif
|
|
# include <windows.h>
|
|
#endif
|
|
|
|
#ifdef _PreComp_
|
|
|
|
// standard
|
|
#include <cmath>
|
|
|
|
// STL
|
|
#include <algorithm>
|
|
#include <limits>
|
|
#include <map>
|
|
#include <sstream>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
// OpenCasCade
|
|
#include <Mod/Part/App/OpenCascadeAll.h>
|
|
|
|
// Boost
|
|
#include <boost/regex.hpp>
|
|
#include <boost/algorithm/string/predicate.hpp>
|
|
|
|
// GL
|
|
// Include glext before QtAll/InventorAll
|
|
#ifdef FC_OS_WIN32
|
|
# include <GL/gl.h>
|
|
# include <GL/glext.h>
|
|
#else
|
|
# ifdef FC_OS_MACOSX
|
|
# include <OpenGL/gl.h>
|
|
# include <OpenGL/glext.h>
|
|
# else
|
|
# ifndef GL_GLEXT_PROTOTYPES
|
|
# define GL_GLEXT_PROTOTYPES 1
|
|
# endif
|
|
# include <GL/gl.h>
|
|
# include <GL/glext.h>
|
|
# endif //FC_OS_MACOSX
|
|
#endif //FC_OS_WIN32
|
|
// Should come after glext.h to avoid warnings
|
|
#include <Inventor/C/glue/gl.h>
|
|
|
|
// Qt Toolkit
|
|
# include <Gui/QtAll.h>
|
|
|
|
// Inventor includes OpenGL
|
|
# include <Gui/InventorAll.h>
|
|
|
|
#endif //_PreComp_
|
|
|
|
#endif // PARTGUI_PRECOMPILED_H
|