00001
00023 #ifndef _TelepathyQt_global_h_HEADER_GUARD_
00024 #define _TelepathyQt_global_h_HEADER_GUARD_
00025
00026 #ifndef IN_TP_QT_HEADER
00027 #error IN_TP_QT_HEADER
00028 #endif
00029
00030 #include <QtGlobal>
00031
00032 #define TP_QT_MAJOR_VERSION 0
00033 #define TP_QT_MINOR_VERSION 9
00034 #define TP_QT_MICRO_VERSION 6
00035 #define TP_QT_VERSION ((TP_QT_MAJOR_VERSION<<16)|(TP_QT_MINOR_VERSION<<8)|(TP_QT_MICRO_VERSION))
00036
00050 #define TP_QT_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
00051
00052 #ifdef BUILDING_TP_QT
00053 # define TP_QT_EXPORT Q_DECL_EXPORT
00054 #else
00055 # define TP_QT_EXPORT Q_DECL_IMPORT
00056 #endif
00057
00058 #if !defined(Q_OS_WIN) && defined(QT_VISIBILITY_AVAILABLE)
00059 # define TP_QT_NO_EXPORT __attribute__((visibility("hidden")))
00060 #endif
00061
00062 #ifndef TP_QT_NO_EXPORT
00063 # define TP_QT_NO_EXPORT
00064 #endif
00065
00118 #ifndef TP_QT_DEPRECATED
00119 # ifdef TP_QT_DEPRECATED_WARNINGS
00120 # ifdef BUILDING_TP_QT
00121 # define TP_QT_DEPRECATED
00122 # else
00123 # define TP_QT_DEPRECATED Q_DECL_DEPRECATED
00124 # endif
00125 # else
00126 # define TP_QT_DEPRECATED
00127 # endif
00128 #endif
00129
00155 #ifndef TP_QT_EXPORT_DEPRECATED
00156 # define TP_QT_EXPORT_DEPRECATED TP_QT_DEPRECATED TP_QT_EXPORT
00157 #endif
00158
00159 #endif