1 /*
2  * gtypes.h - Specialized GTypes representing D-Bus structs etc.
3  * Copyright (C) 2007 Collabora Ltd. <http://www.collabora.co.uk/>
4  * Copyright (C) 2007 Nokia Corporation
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19  */
20 
21 #if defined (TP_DISABLE_SINGLE_INCLUDE) && !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION)
22 #error "Only <telepathy-glib/telepathy-glib.h> and <telepathy-glib/telepathy-glib-dbus.h> can be included directly."
23 #endif
24 
25 #ifndef __TP_GTYPES_H__
26 #define __TP_GTYPES_H__
27 
28 #include <dbus/dbus-glib.h>
29 
30 G_BEGIN_DECLS
31 
32 #include <telepathy-glib/_gen/gtypes.h>
33 
34 #define TP_ARRAY_TYPE_OBJECT_PATH_LIST (tp_type_dbus_array_of_o ())
35 #define TP_ARRAY_TYPE_UCHAR_ARRAY_LIST (tp_type_dbus_array_of_ay ())
36 #define TP_TYPE_UCHAR_ARRAY (tp_type_dbus_array_of_y ())
37 
38 GType tp_type_dbus_array_of_o (void);
39 GType tp_type_dbus_array_of_y (void);
40 GType tp_type_dbus_array_of_ay (void);
41 
42 GValue *tp_dbus_specialized_value_slice_new (GType type);
43 
44 G_END_DECLS
45 
46 #endif
47