QXmpp  Version:0.9.1
QXmppGlobal.h
1 /*
2  * Copyright (C) 2008-2014 The QXmpp developers
3  *
4  * Author:
5  * Manjeet Dahiya
6  *
7  * Source:
8  * https://github.com/qxmpp-project/qxmpp
9  *
10  * This file is a part of QXmpp library.
11  *
12  * This library is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU Lesser General Public
14  * License as published by the Free Software Foundation; either
15  * version 2.1 of the License, or (at your option) any later version.
16  *
17  * This library is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20  * Lesser General Public License for more details.
21  *
22  */
23 
24 
25 #ifndef QXMPPGLOBAL_H
26 #define QXMPPGLOBAL_H
27 
28 #include <QString>
29 
30 #if defined(QXMPP_STATIC)
31 # define QXMPP_EXPORT
32 #else
33 # if defined(QXMPP_BUILD)
34 # define QXMPP_EXPORT Q_DECL_EXPORT
35 # else
36 # define QXMPP_EXPORT Q_DECL_IMPORT
37 # endif
38 #endif
39 
40 #if defined(QXMPP_AUTOTEST_INTERNAL)
41 # define QXMPP_AUTOTEST_EXPORT QXMPP_EXPORT
42 #else
43 # define QXMPP_AUTOTEST_EXPORT
44 #endif
45 
54 
55 #define QXMPP_VERSION 0x000901
56 
57 QXMPP_EXPORT QString QXmppVersion();
58 
59 #endif //QXMPPGLOBAL_H