| 1 |
// SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 |
|
| 3 |
/*************************************************************************** |
| 4 |
* Copyright (c) 2002 Jürgen Riegel <[email protected]> * |
| 5 |
* * |
| 6 |
* This file is part of the FreeCAD CAx development system. * |
| 7 |
* * |
| 8 |
* This library is free software; you can redistribute it and/or * |
| 9 |
* modify it under the terms of the GNU Library General Public * |
| 10 |
* License as published by the Free Software Foundation; either * |
| 11 |
* version 2 of the License, or (at your option) any later version. * |
| 12 |
* * |
| 13 |
* This library is distributed in the hope that it will be useful, * |
| 14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of * |
| 15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
| 16 |
* GNU Library General Public License for more details. * |
| 17 |
* * |
| 18 |
* You should have received a copy of the GNU Library General Public * |
| 19 |
* License along with this library; see the file COPYING.LIB. If not, * |
| 20 |
* write to the Free Software Foundation, Inc., 59 Temple Place, * |
| 21 |
* Suite 330, Boston, MA 02111-1307, USA * |
| 22 |
* * |
| 23 |
***************************************************************************/ |
| 24 |
|
| 25 |
|
| 26 |
#ifndef BASE_PRECOMPILED_H |
| 27 |
#define BASE_PRECOMPILED_H |
| 28 |
|
| 29 |
#include <FCConfig.h> |
| 30 |
|
| 31 |
// Python |
| 32 |
#include <Python.h> |
| 33 |
|
| 34 |
// standard |
| 35 |
#include <algorithm> |
| 36 |
#include <array> |
| 37 |
#include <fcntl.h> |
| 38 |
#include <cstdio> |
| 39 |
#include <cassert> |
| 40 |
#include <ctime> |
| 41 |
#include <chrono> |
| 42 |
#include <cmath> |
| 43 |
#include <codecvt> |
| 44 |
#include <locale> |
| 45 |
|
| 46 |
#ifdef FC_OS_WIN32 |
| 47 |
# include <direct.h> |
| 48 |
# include <windows.h> |
| 49 |
# include <crtdbg.h> |
| 50 |
# include <shellapi.h> |
| 51 |
# include <Rpc.h> |
| 52 |
#endif |
| 53 |
|
| 54 |
#if defined(FC_OS_LINUX) || defined(FC_OS_CYGWIN) || defined(FC_OS_MACOSX) || defined(FC_OS_BSD) |
| 55 |
# include <dirent.h> |
| 56 |
# include <unistd.h> |
| 57 |
# include <sys/stat.h> |
| 58 |
#endif |
| 59 |
|
| 60 |
// STL |
| 61 |
#include <algorithm> |
| 62 |
#include <bitset> |
| 63 |
#include <iomanip> |
| 64 |
#include <list> |
| 65 |
#include <limits> |
| 66 |
#include <map> |
| 67 |
#include <memory> |
| 68 |
#include <mutex> |
| 69 |
#include <new> |
| 70 |
#include <numbers> |
| 71 |
#include <queue> |
| 72 |
#include <set> |
| 73 |
#include <stack> |
| 74 |
#include <string> |
| 75 |
#include <string_view> |
| 76 |
#include <unordered_map> |
| 77 |
#include <vector> |
| 78 |
|
| 79 |
// streams |
| 80 |
#include <iostream> |
| 81 |
#include <fstream> |
| 82 |
#include <sstream> |
| 83 |
|
| 84 |
// Xerces |
| 85 |
#include <xercesc/dom/DOM.hpp> |
| 86 |
#include <xercesc/dom/DOMDocument.hpp> |
| 87 |
#include <xercesc/dom/DOMElement.hpp> |
| 88 |
#include <xercesc/dom/DOMImplementation.hpp> |
| 89 |
#include <xercesc/dom/DOMImplementationLS.hpp> |
| 90 |
#include <xercesc/dom/DOMText.hpp> |
| 91 |
#include <xercesc/framework/LocalFileFormatTarget.hpp> |
| 92 |
#include <xercesc/framework/LocalFileInputSource.hpp> |
| 93 |
#include <xercesc/framework/MemBufFormatTarget.hpp> |
| 94 |
#include <xercesc/framework/MemBufInputSource.hpp> |
| 95 |
#include <xercesc/framework/MemoryManager.hpp> |
| 96 |
#include <xercesc/framework/StdOutFormatTarget.hpp> |
| 97 |
#include <xercesc/parsers/XercesDOMParser.hpp> |
| 98 |
#include <xercesc/sax/EntityResolver.hpp> |
| 99 |
#include <xercesc/sax/ErrorHandler.hpp> |
| 100 |
#include <xercesc/sax/SAXException.hpp> |
| 101 |
#include <xercesc/sax/SAXParseException.hpp> |
| 102 |
#include <xercesc/sax2/Attributes.hpp> |
| 103 |
#include <xercesc/sax2/DefaultHandler.hpp> |
| 104 |
#include <xercesc/sax2/SAX2XMLReader.hpp> |
| 105 |
#include <xercesc/sax2/XMLReaderFactory.hpp> |
| 106 |
#include <xercesc/util/OutOfMemoryException.hpp> |
| 107 |
#include <xercesc/util/PlatformUtils.hpp> |
| 108 |
#include <xercesc/util/XMLString.hpp> |
| 109 |
#include <xercesc/util/XMLUni.hpp> |
| 110 |
#include <xercesc/util/XMLUniDefs.hpp> |
| 111 |
#include <xercesc/util/XercesVersion.hpp> |
| 112 |
|
| 113 |
#include <boost/algorithm/string.hpp> |
| 114 |
#include <boost/algorithm/string/predicate.hpp> |
| 115 |
#include <boost/lexical_cast.hpp> |
| 116 |
#include <boost/regex.hpp> |
| 117 |
#include <boost/tokenizer.hpp> |
| 118 |
|
| 119 |
// Unicode |
| 120 |
#include <unicode/unistr.h> |
| 121 |
#include <unicode/uchar.h> |
| 122 |
|
| 123 |
// QtCore |
| 124 |
#include <QBuffer> |
| 125 |
#include <QByteArray> |
| 126 |
#include <QCoreApplication> |
| 127 |
#include <QEvent> |
| 128 |
#include <QIODevice> |
| 129 |
#include <QDataStream> |
| 130 |
#include <QDateTime> |
| 131 |
#include <QElapsedTimer> |
| 132 |
#include <QWriteLocker> |
| 133 |
#include <QReadLocker> |
| 134 |
#include <QReadWriteLock> |
| 135 |
#include <QTime> |
| 136 |
#include <QTimeZone> |
| 137 |
#include <QUuid> |
| 138 |
|
| 139 |
#endif // BASE_PRECOMPILED_H |