global.h Source File

| Home · All Classes · All Namespaces · Modules · Functions · Files

build/TelepathyQt/global.h
1
23 #ifndef _TelepathyQt_global_h_HEADER_GUARD_
24 #define _TelepathyQt_global_h_HEADER_GUARD_
25
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29
30 #include <QtGlobal>
31
32 #define TP_QT_MAJOR_VERSION 0
33 #define TP_QT_MINOR_VERSION 9
34 #define TP_QT_MICRO_VERSION 6
35 #define TP_QT_VERSION ((TP_QT_MAJOR_VERSION<<16)|(TP_QT_MINOR_VERSION<<8)|(TP_QT_MICRO_VERSION))
36
50 #define TP_QT_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
51
52 #ifdef BUILDING_TP_QT
53 # define TP_QT_EXPORT Q_DECL_EXPORT
54 #else
55 # define TP_QT_EXPORT Q_DECL_IMPORT
56 #endif
57
58 #if !defined(Q_OS_WIN) && defined(QT_VISIBILITY_AVAILABLE)
59 # define TP_QT_NO_EXPORT __attribute__((visibility("hidden")))
60 #endif
61
62 #ifndef TP_QT_NO_EXPORT
63 # define TP_QT_NO_EXPORT
64 #endif
65
118 #ifndef TP_QT_DEPRECATED
119 # ifdef TP_QT_DEPRECATED_WARNINGS
120 # ifdef BUILDING_TP_QT
121 # define TP_QT_DEPRECATED
122 # else
123 # define TP_QT_DEPRECATED Q_DECL_DEPRECATED
124 # endif
125 # else
126 # define TP_QT_DEPRECATED
127 # endif
128 #endif
129
155 #ifndef TP_QT_EXPORT_DEPRECATED
156 # define TP_QT_EXPORT_DEPRECATED TP_QT_DEPRECATED TP_QT_EXPORT
157 #endif
158
159 #endif