* dbus/dbus-sysdeps.c: Make tcp socket connection error somewhat more
[platform/upstream/dbus.git] / qt / qdbusmacros.h
1 /* qdbusmessage.h QDBusMessage object
2  *
3  * Copyright (C) 2005 Harald Fernengel <harry@kdevelop.org>
4  * Copyright (C) 2006 Trolltech AS. All rights reserved.
5  *    Author: Thiago Macieira <thiago.macieira@trolltech.com>
6  *
7  * Licensed under the Academic Free License version 2.1
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software Foundation
21  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22  *
23  */
24
25 /*!
26     \file qdbusmacros.h
27 */
28
29 #ifndef QDBUSMACROS_H
30 #define QDBUSMACROS_H
31
32 #include <QtCore/qglobal.h>
33 #include <QtCore/qmetatype.h>
34 #include <QtCore/qvariant.h>
35
36 #ifdef QT_NO_MEMBER_TEMPLATES
37 # error Sorry, you need a compiler with support for template member functions to compile QtDBus.
38 #endif
39
40 #if defined(QDBUS_MAKEDLL)
41 # define QDBUS_EXPORT Q_DECL_EXPORT
42 #else
43 # define QDBUS_EXPORT Q_DECL_IMPORT
44 #endif
45
46 #ifndef Q_MOC_RUN
47 # define Q_ASYNC
48 #endif
49
50 #endif