* dbus/dbus-sysdeps.c: Make tcp socket connection error somewhat more
[platform/upstream/dbus.git] / qt / src / qdbusmarshall_p.h
1 /* qdbusmarshall_p.h QDBusMarshall 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 //  W A R N I N G
27 //  -------------
28 //
29 // This file is not part of the public API.  This header file may
30 // change from version to version without notice, or even be
31 // removed.
32 //
33 // We mean it.
34 //
35 //
36
37 #ifndef QDBUSMARSHALLPRIVATE_H
38 #define QDBUSMARSHALLPRIVATE_H
39
40 struct DBusMessage;
41
42 template <typename T> class QList;
43 class QVariant;
44 class QString;
45
46 /*!
47     \internal
48 */
49 class QDBusMarshall
50 {
51 public:
52     static void listToMessage(const QList<QVariant> &list, DBusMessage *message,
53                               const QString& signature);
54     static void messageToList(QList<QVariant> &list, DBusMessage *message);
55 };
56
57 #endif