~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to addressbook/libedata-book/e-data-book-factory-glue.h

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Generated by dbus-binding-tool; do not edit! */
 
2
 
 
3
 
 
4
#ifndef __dbus_glib_marshal_e_data_book_factory_MARSHAL_H__
 
5
#define __dbus_glib_marshal_e_data_book_factory_MARSHAL_H__
 
6
 
 
7
#include        <glib-object.h>
 
8
 
 
9
G_BEGIN_DECLS
 
10
 
 
11
#ifdef G_ENABLE_DEBUG
 
12
#define g_marshal_value_peek_boolean(v)  g_value_get_boolean (v)
 
13
#define g_marshal_value_peek_char(v)     g_value_get_char (v)
 
14
#define g_marshal_value_peek_uchar(v)    g_value_get_uchar (v)
 
15
#define g_marshal_value_peek_int(v)      g_value_get_int (v)
 
16
#define g_marshal_value_peek_uint(v)     g_value_get_uint (v)
 
17
#define g_marshal_value_peek_long(v)     g_value_get_long (v)
 
18
#define g_marshal_value_peek_ulong(v)    g_value_get_ulong (v)
 
19
#define g_marshal_value_peek_int64(v)    g_value_get_int64 (v)
 
20
#define g_marshal_value_peek_uint64(v)   g_value_get_uint64 (v)
 
21
#define g_marshal_value_peek_enum(v)     g_value_get_enum (v)
 
22
#define g_marshal_value_peek_flags(v)    g_value_get_flags (v)
 
23
#define g_marshal_value_peek_float(v)    g_value_get_float (v)
 
24
#define g_marshal_value_peek_double(v)   g_value_get_double (v)
 
25
#define g_marshal_value_peek_string(v)   (char*) g_value_get_string (v)
 
26
#define g_marshal_value_peek_param(v)    g_value_get_param (v)
 
27
#define g_marshal_value_peek_boxed(v)    g_value_get_boxed (v)
 
28
#define g_marshal_value_peek_pointer(v)  g_value_get_pointer (v)
 
29
#define g_marshal_value_peek_object(v)   g_value_get_object (v)
 
30
#else /* !G_ENABLE_DEBUG */
 
31
/* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
 
32
 *          Do not access GValues directly in your code. Instead, use the
 
33
 *          g_value_get_*() functions
 
34
 */
 
35
#define g_marshal_value_peek_boolean(v)  (v)->data[0].v_int
 
36
#define g_marshal_value_peek_char(v)     (v)->data[0].v_int
 
37
#define g_marshal_value_peek_uchar(v)    (v)->data[0].v_uint
 
38
#define g_marshal_value_peek_int(v)      (v)->data[0].v_int
 
39
#define g_marshal_value_peek_uint(v)     (v)->data[0].v_uint
 
40
#define g_marshal_value_peek_long(v)     (v)->data[0].v_long
 
41
#define g_marshal_value_peek_ulong(v)    (v)->data[0].v_ulong
 
42
#define g_marshal_value_peek_int64(v)    (v)->data[0].v_int64
 
43
#define g_marshal_value_peek_uint64(v)   (v)->data[0].v_uint64
 
44
#define g_marshal_value_peek_enum(v)     (v)->data[0].v_long
 
45
#define g_marshal_value_peek_flags(v)    (v)->data[0].v_ulong
 
46
#define g_marshal_value_peek_float(v)    (v)->data[0].v_float
 
47
#define g_marshal_value_peek_double(v)   (v)->data[0].v_double
 
48
#define g_marshal_value_peek_string(v)   (v)->data[0].v_pointer
 
49
#define g_marshal_value_peek_param(v)    (v)->data[0].v_pointer
 
50
#define g_marshal_value_peek_boxed(v)    (v)->data[0].v_pointer
 
51
#define g_marshal_value_peek_pointer(v)  (v)->data[0].v_pointer
 
52
#define g_marshal_value_peek_object(v)   (v)->data[0].v_pointer
 
53
#endif /* !G_ENABLE_DEBUG */
 
54
 
 
55
 
 
56
/* NONE:STRING,POINTER */
 
57
extern void dbus_glib_marshal_e_data_book_factory_VOID__STRING_POINTER (GClosure     *closure,
 
58
                                                                        GValue       *return_value,
 
59
                                                                        guint         n_param_values,
 
60
                                                                        const GValue *param_values,
 
61
                                                                        gpointer      invocation_hint,
 
62
                                                                        gpointer      marshal_data);
 
63
void
 
64
dbus_glib_marshal_e_data_book_factory_VOID__STRING_POINTER (GClosure     *closure,
 
65
                                                            GValue       *return_value G_GNUC_UNUSED,
 
66
                                                            guint         n_param_values,
 
67
                                                            const GValue *param_values,
 
68
                                                            gpointer      invocation_hint G_GNUC_UNUSED,
 
69
                                                            gpointer      marshal_data)
 
70
{
 
71
  typedef void (*GMarshalFunc_VOID__STRING_POINTER) (gpointer     data1,
 
72
                                                     gpointer     arg_1,
 
73
                                                     gpointer     arg_2,
 
74
                                                     gpointer     data2);
 
75
  register GMarshalFunc_VOID__STRING_POINTER callback;
 
76
  register GCClosure *cc = (GCClosure*) closure;
 
77
  register gpointer data1, data2;
 
78
 
 
79
  g_return_if_fail (n_param_values == 3);
 
80
 
 
81
  if (G_CCLOSURE_SWAP_DATA (closure))
 
82
    {
 
83
      data1 = closure->data;
 
84
      data2 = g_value_peek_pointer (param_values + 0);
 
85
    }
 
86
  else
 
87
    {
 
88
      data1 = g_value_peek_pointer (param_values + 0);
 
89
      data2 = closure->data;
 
90
    }
 
91
  callback = (GMarshalFunc_VOID__STRING_POINTER) (marshal_data ? marshal_data : cc->callback);
 
92
 
 
93
  callback (data1,
 
94
            g_marshal_value_peek_string (param_values + 1),
 
95
            g_marshal_value_peek_pointer (param_values + 2),
 
96
            data2);
 
97
}
 
98
#define dbus_glib_marshal_e_data_book_factory_NONE__STRING_POINTER      dbus_glib_marshal_e_data_book_factory_VOID__STRING_POINTER
 
99
 
 
100
G_END_DECLS
 
101
 
 
102
#endif /* __dbus_glib_marshal_e_data_book_factory_MARSHAL_H__ */
 
103
 
 
104
#include <dbus/dbus-glib.h>
 
105
static const DBusGMethodInfo dbus_glib_e_data_book_factory_methods[] = {
 
106
  { (GCallback) impl_BookFactory_getBook, dbus_glib_marshal_e_data_book_factory_NONE__STRING_POINTER, 0 },
 
107
};
 
108
 
 
109
const DBusGObjectInfo dbus_glib_e_data_book_factory_object_info = {
 
110
  0,
 
111
  dbus_glib_e_data_book_factory_methods,
 
112
  1,
 
113
"org.gnome.evolution.dataserver.addressbook.BookFactory\0getBook\0A\0source\0I\0s\0path\0O\0F\0N\0o\0\0\0",
 
114
"\0",
 
115
"\0"
 
116
};
 
117