Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef QXTGLOBAL_H
00027 #define QXTGLOBAL_H
00028
00029 #include <QtGlobal>
00030 #ifdef Q_OS_WIN
00031 #include <qxtconfig.h>
00032 #endif
00033
00034 #define QXT_VERSION 0x000501
00035 #define QXT_VERSION_STR "0.5.1"
00036
00037
00038
00039 #ifndef QXT_NO_MACROS
00040
00041 #endif // QXT_NO_MACROS
00042
00043
00044
00045 #define QXT_DLLEXPORT DO_NOT_USE_THIS_ANYMORE
00046
00047 #if defined(QXT_SHARED)
00048 # if defined(BUILD_QXT_CORE)
00049 # define QXT_CORE_EXPORT Q_DECL_EXPORT
00050 # else
00051 # define QXT_CORE_EXPORT Q_DECL_IMPORT
00052 # endif
00053 #else
00054 # define QXT_CORE_EXPORT
00055 #endif // BUILD_QXT_CORE
00056
00057 #if defined(QXT_SHARED)
00058 # if defined(BUILD_QXT_GUI)
00059 # define QXT_GUI_EXPORT Q_DECL_EXPORT
00060 # else
00061 # define QXT_GUI_EXPORT Q_DECL_IMPORT
00062 # endif
00063 #else
00064 # define QXT_GUI_EXPORT
00065 #endif // BUILD_QXT_GUI
00066
00067 #if defined(QXT_SHARED)
00068 # if defined(BUILD_QXT_NETWORK)
00069 # define QXT_NETWORK_EXPORT Q_DECL_EXPORT
00070 # else
00071 # define QXT_NETWORK_EXPORT Q_DECL_IMPORT
00072 # endif
00073 #else
00074 # define QXT_NETWORK_EXPORT
00075 #endif // BUILD_QXT_NETWORK
00076
00077 #if defined(QXT_SHARED)
00078 # if defined(BUILD_QXT_SQL)
00079 # define QXT_SQL_EXPORT Q_DECL_EXPORT
00080 # else
00081 # define QXT_SQL_EXPORT Q_DECL_IMPORT
00082 # endif
00083 #else
00084 # define QXT_SQL_EXPORT
00085 #endif // BUILD_QXT_SQL
00086
00087 #if defined(QXT_SHARED)
00088 # if defined(BUILD_QXT_WEB)
00089 # define QXT_WEB_EXPORT Q_DECL_EXPORT
00090 # else
00091 # define QXT_WEB_EXPORT Q_DECL_IMPORT
00092 # endif
00093 #else
00094 # define QXT_WEB_EXPORT
00095 #endif // BUILD_QXT_WEB
00096
00097 #if defined(QXT_SHARED)
00098 # if defined(BUILD_QXT_CRYPTO)
00099 # define QXT_CRYPTO_EXPORT Q_DECL_EXPORT
00100 # else
00101 # define QXT_CRYPTO_EXPORT Q_DECL_IMPORT
00102 # endif
00103 #else
00104 # define QXT_CRYPTO_EXPORT
00105 #endif // BUILD_QXT_CRYPTO
00106
00107 #if defined(QXT_SHARED)
00108 # if defined(BUILD_QXT_BERKELEY)
00109 # define QXT_BERKELEY_EXPORT Q_DECL_EXPORT
00110 # else
00111 # define QXT_BERKELEY_EXPORT Q_DECL_IMPORT
00112 # endif
00113 #else
00114 # define QXT_BERKELEY_EXPORT
00115 #endif // BUILD_QXT_BERKELEY
00116
00117 #if defined BUILD_QXT_CORE || defined BUILD_QXT_GUI || defined BUILD_QXT_MEDIA || defined BUILD_QXT_SQL || defined BUILD_QXT_NETWORK || defined BUILD_QXT_KIT || defined BUILD_QXT_WEB || defined BUILD_QXT_CRYPTO || defined BUILD_QXT_BERKELEY
00118 # define BUILD_QXT
00119 #endif
00120
00121 QXT_CORE_EXPORT const char* qxtVersion();
00122
00123 #ifndef QT_BEGIN_NAMESPACE
00124 #define QT_BEGIN_NAMESPACE
00125 #endif
00126
00127 #ifndef QT_END_NAMESPACE
00128 #define QT_END_NAMESPACE
00129 #endif
00130
00131 #ifndef QT_FORWARD_DECLARE_CLASS
00132 #define QT_FORWARD_DECLARE_CLASS(Class) class Class;
00133 #endif
00134
00135 #endif // QXT_GLOBAL