![]() |
QxOrm
1.2.7
C++ Object Relational Mapping library
|
00001 /**************************************************************************** 00002 ** 00003 ** http://www.qxorm.com/ 00004 ** Copyright (C) 2013 Lionel Marty (contact@qxorm.com) 00005 ** 00006 ** This file is part of the QxOrm library 00007 ** 00008 ** This software is provided 'as-is', without any express or implied 00009 ** warranty. In no event will the authors be held liable for any 00010 ** damages arising from the use of this software 00011 ** 00012 ** Commercial Usage 00013 ** Licensees holding valid commercial QxOrm licenses may use this file in 00014 ** accordance with the commercial license agreement provided with the 00015 ** Software or, alternatively, in accordance with the terms contained in 00016 ** a written agreement between you and Lionel Marty 00017 ** 00018 ** GNU General Public License Usage 00019 ** Alternatively, this file may be used under the terms of the GNU 00020 ** General Public License version 3.0 as published by the Free Software 00021 ** Foundation and appearing in the file 'license.gpl3.txt' included in the 00022 ** packaging of this file. Please review the following information to 00023 ** ensure the GNU General Public License version 3.0 requirements will be 00024 ** met : http://www.gnu.org/copyleft/gpl.html 00025 ** 00026 ** If you are unsure which license is appropriate for your use, or 00027 ** if you have questions regarding the use of this file, please contact : 00028 ** contact@qxorm.com 00029 ** 00030 ****************************************************************************/ 00031 00032 #ifndef _QX_ORM_PRECOMPILED_HEADER_H_ 00033 #define _QX_ORM_PRECOMPILED_HEADER_H_ 00034 00035 #ifdef _MSC_VER 00036 #pragma once 00037 #endif 00038 00039 #define BOOST_ALL_NO_LIB /* -- Disable auto-link feature provided by boost -- */ 00040 00041 #ifdef _MSC_VER 00042 #pragma warning(disable:4503) /* -- Disable 4503 warning because of boost template -- */ 00043 #pragma warning(disable:4100) /* -- Disable warning 'unreferenced formal parameter' -- */ 00044 #pragma warning(disable:4996) 00045 #pragma warning(disable:4661) 00046 #endif // _MSC_VER 00047 00048 #include <iostream> 00049 #include <algorithm> 00050 #include <string> 00051 #include <vector> 00052 #include <list> 00053 #include <map> 00054 #include <set> 00055 00056 #include <QtCore/qglobal.h> 00057 #include <QtCore/qobject.h> 00058 #include <QtCore/qdebug.h> 00059 #include <QtCore/qstring.h> 00060 #include <QtCore/qstringlist.h> 00061 #include <QtCore/qvector.h> 00062 #include <QtCore/qlist.h> 00063 #include <QtCore/qmap.h> 00064 #include <QtCore/qset.h> 00065 #include <QtCore/qhash.h> 00066 #include <QtCore/qthread.h> 00067 #include <QtCore/qmutex.h> 00068 #include <QtCore/qdir.h> 00069 #include <QtCore/qfile.h> 00070 #include <QtCore/qdatetime.h> 00071 #include <QtCore/qvariant.h> 00072 #include <QtCore/qpair.h> 00073 00074 #ifdef _MSC_VER 00075 #pragma warning(push) 00076 #pragma warning(disable:4396) 00077 #endif // _MSC_VER 00078 00079 #include <boost/config.hpp> 00080 #include <boost/serialization/force_include.hpp> 00081 00082 #ifdef BOOST_DLLEXPORT 00083 #undef BOOST_DLLEXPORT 00084 #define BOOST_DLLEXPORT /* Nothing */ 00085 #endif // BOOST_DLLEXPORT 00086 00087 #include <boost/version.hpp> 00088 #include <boost/scoped_ptr.hpp> 00089 #include <boost/shared_ptr.hpp> 00090 #include <boost/unordered_map.hpp> 00091 #include <boost/algorithm/string.hpp> 00092 #include <boost/tuple/tuple.hpp> 00093 #include <boost/foreach.hpp> 00094 #include <boost/bind.hpp> 00095 #include <boost/none.hpp> 00096 #include <boost/optional.hpp> 00097 00098 #ifdef _MSC_VER 00099 #include <boost/serialization/serialization.hpp> /* -- To avoid warning 4100 => header in precompiled header -- */ 00100 #include <boost/archive/detail/iserializer.hpp> 00101 #include <boost/archive/detail/oserializer.hpp> 00102 #endif // _MSC_VER 00103 00104 #ifdef _MSC_VER 00105 #pragma warning(pop) 00106 #endif // _MSC_VER 00107 00108 #include <QxCommon/QxConfig.h> 00109 #include <QxCommon/QxMacro.h> 00110 00111 #endif // _QX_ORM_PRECOMPILED_HEADER_H_