* qt/: Update to Subversion r548032.
[platform/upstream/dbus.git] / qt / src / qdbusmessage_p.h
1 /* qdbusmessage.h QDBusMessage private 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 #ifndef QDBUSMESSAGE_P_H
26 #define QDBUSMESSAGE_P_H
27
28 #include <qatomic.h>
29 #include <qstring.h>
30 #include "qdbusconnection.h"
31 struct DBusMessage;
32
33 class QDBusMessagePrivate
34 {
35 public:
36     QDBusMessagePrivate();
37     ~QDBusMessagePrivate();
38
39     QString service, path, interface, name, message, signature;
40     QDBusConnection connection;
41     DBusMessage *msg;
42     DBusMessage *reply;
43     int type;
44     int timeout;
45     QAtomic ref;
46
47     mutable bool repliedTo : 1;
48 };
49
50 #endif