libqutim  0.3.1.0
libqutim_global.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** qutIM - instant messenger
4 **
5 ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru>
6 **
7 *****************************************************************************
8 **
9 ** $QUTIM_BEGIN_LICENSE$
10 ** This program is free software: you can redistribute it and/or modify
11 ** it under the terms of the GNU General Public License as published by
12 ** the Free Software Foundation, either version 3 of the License, or
13 ** (at your option) any later version.
14 **
15 ** This program is distributed in the hope that it will be useful,
16 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 ** See the GNU General Public License for more details.
19 **
20 ** You should have received a copy of the GNU General Public License
21 ** along with this program. If not, see http://www.gnu.org/licenses/.
22 ** $QUTIM_END_LICENSE$
23 **
24 ****************************************************************************/
25 
26 #ifndef LIBQUTIM_GLOBAL_H
27 #define LIBQUTIM_GLOBAL_H
28 
29 #include <QtCore/qglobal.h>
30 #include <QtCore/QObject>
31 
32 #if QT_VERSION < QT_VERSION_CHECK(4, 6, 0)
33 # error Incompatible Qt library, need 4.6.0 at least
34 #endif
35 
36 #ifdef QT_VISIBILITY_AVAILABLE
37 # define LIBQUTIM_NO_EXPORT __attribute__ ((visibility("hidden")))
38 #else
39 # define LIBQUTIM_NO_EXPORT
40 #endif
41 
42 #if defined(LIBQUTIM_LIBRARY)
43 # define LIBQUTIM_EXPORT Q_DECL_EXPORT
44 #else
45 # define LIBQUTIM_EXPORT Q_DECL_IMPORT
46 #endif
47 
48 #if defined(Q_OS_SYMBIAN) || defined(Q_WS_SIMULATOR) || defined(Q_WS_MAEMO_5)
49 # ifndef QUTIM_MOBILE_UI
50 # define QUTIM_MOBILE_UI
51 # endif
52 #endif
53 
54 namespace qutim_sdk_0_3
55 {
56  LIBQUTIM_EXPORT void centerizeWidget(QWidget *widget); //move widget to center of current screen
57 }
58 
59 #endif // LIBQUTIM_GLOBAL_H
60 

Generated by Doxygen