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