Ok, the long awaited config wizard is here (at least in a very basic state). There...
[quassel.git] / src / contrib / libqxt-2007-10-24 / src / core / qxtglobal.h
1 /****************************************************************************
2 **
3 ** Copyright (C) Qxt Foundation. Some rights reserved.
4 **
5 ** This file is part of the QxtCore module of the Qt eXTension library
6 **
7 ** This library is free software; you can redistribute it and/or modify it
8 ** under the terms of th Common Public License, version 1.0, as published by
9 ** IBM.
10 **
11 ** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY
12 ** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
13 ** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR
14 ** FITNESS FOR A PARTICULAR PURPOSE.
15 **
16 ** You should have received a copy of the CPL along with this file.
17 ** See the LICENSE file and the cpl1.0.txt file included with the source
18 ** distribution for more information. If you did not receive a copy of the
19 ** license, contact the Qxt Foundation.
20 **
21 ** <http://libqxt.sourceforge.net>  <foundation@libqxt.org>
22 **
23 ****************************************************************************/
24
25
26 /** \defgroup QxtCore QxtCore
27         The Core contains naturaly  the most important parts of Qxt, everything is based on.
28 */
29
30 /** \defgroup QxtSql QxtSql
31         parts that depend on QtSql (and at least QtCore)
32 */
33
34 /** \defgroup QxtNetwork  QxtNetwork
35         parts that depend on QtNetwork (and at least QtCore)
36 */
37
38 /** \defgroup QxtGui QxtGui
39         parts that depend on QtGui (and at least QtCore)
40 */
41
42 /** \defgroup QxtWeb  QxtWeb
43         Qt like Web Developement tools
44 */
45
46 /** \defgroup QxtCrypto  QxtCrypto
47         Tools for encryption and hashing
48 */
49
50
51
52 /**
53
54 */
55 /*! \mainpage Qt extension librarys
56  *
57  *
58  * Qxt Provides Classes for extended needs based on the Qt Library by Trolltech
59  *
60  * Checkout the classes list
61
62 \image html logo.png
63  *
64  */
65
66
67 #ifndef QXTDEFINES_HEADER_GUARDD
68 #define QXTDEFINES_HEADER_GUARDD
69
70
71
72
73
74 #define QXT_VERSION (  (2<<16) + (2<<8) + 3 )
75
76
77
78 //--------------------------global macros------------------------------
79
80 #ifndef QXT_NO_MACROS
81
82 #endif
83
84 //--------------------------export macros------------------------------
85
86
87
88
89 #    define QXT_DLLEXPORT DO_NOT_USE_THIS_ANYMORE
90
91
92
93
94
95
96
97 #if defined(QXT_WINDOWS)
98
99 #       if defined(BUILD_QXT_CORE)
100 #               define QXT_CORE_EXPORT __declspec(dllexport)
101 #       else
102 #               define QXT_CORE_EXPORT __declspec(dllimport)
103 #       endif
104
105 #       if defined(BUILD_QXT_GUI)
106 #               define QXT_GUI_EXPORT __declspec(dllexport)
107 #       else
108 #               define QXT_GUI_EXPORT __declspec(dllimport)
109 #       endif
110
111 #       if defined(BUILD_QXT_MEDIA)
112 #               define QXT_MEDIA_EXPORT __declspec(dllexport)
113 #       else
114 #               define QXT_MEDIA_EXPORT __declspec(dllimport)
115 #       endif
116
117
118 #       if defined(BUILD_QXT_NETWORK)
119 #               define QXT_NETWORK_EXPORT __declspec(dllexport)
120 #       else
121 #               define QXT_NETWORK_EXPORT __declspec(dllimport)
122 #       endif
123
124
125 #       if defined(BUILD_QXT_SQL)
126 #               define QXT_SQL_EXPORT __declspec(dllexport)
127 #       else
128 #               define QXT_SQL_EXPORT __declspec(dllimport)
129 #       endif
130
131 #       if defined(BUILD_QXT_WEB)
132 #               define QXT_WEB_EXPORT __declspec(dllexport)
133 #       else
134 #               define QXT_WEB_EXPORT __declspec(dllimport)
135 #       endif
136
137 #       if defined(BUILD_QXT_CRYPTO)
138 #               define QXT_CRYPTO_EXPORT __declspec(dllexport)
139 #       else
140 #               define QXT_CRYPTO_EXPORT __declspec(dllimport)
141 #       endif
142
143
144 #else
145
146 #    define QXT_CORE_EXPORT
147 #    define QXT_GUI_EXPORT
148 #    define QXT_MEDIA_EXPORT
149 #    define QXT_NETWORK_EXPORT
150 #    define QXT_SQL_EXPORT
151 #    define QXT_WEB_EXPORT
152 #    define QXT_CRYPTO_EXPORT
153
154
155
156
157 #endif
158
159
160
161
162
163
164
165
166
167
168 #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
169 #define BUILD_QXT
170 #endif
171
172
173
174
175
176
177
178
179
180
181
182 #endif //guards
183