2
/* File: eggzeitgeistdatasourceregistry.h
4
* Generated by eggdbus-binding-tool 0.6. Do not edit.
7
#ifndef __EGG_ZEITGEIST_DATA_SOURCE_REGISTRY_H
8
#define __EGG_ZEITGEIST_DATA_SOURCE_REGISTRY_H
10
#include <glib-object.h>
12
#include "eggzeitgeistbindingstypes.h"
16
#define EGG_ZEITGEIST_TYPE_DATA_SOURCE_REGISTRY (egg_zeitgeist_data_source_registry_get_type())
17
#define EGG_ZEITGEIST_DATA_SOURCE_REGISTRY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EGG_ZEITGEIST_TYPE_DATA_SOURCE_REGISTRY, EggZeitgeistDataSourceRegistry))
18
#define EGG_ZEITGEIST_IS_DATA_SOURCE_REGISTRY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EGG_ZEITGEIST_TYPE_DATA_SOURCE_REGISTRY))
19
#define EGG_ZEITGEIST_DATA_SOURCE_REGISTRY_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE((o), EGG_ZEITGEIST_TYPE_DATA_SOURCE_REGISTRY, EggZeitgeistDataSourceRegistryIface))
22
typedef struct _EggZeitgeistDataSourceRegistry EggZeitgeistDataSourceRegistry; /* Dummy typedef */
24
typedef struct _EggZeitgeistDataSourceRegistryIface EggZeitgeistDataSourceRegistryIface;
27
* EGG_ZEITGEIST_QUERY_INTERFACE_DATA_SOURCE_REGISTRY:
28
* @object_proxy: A #EggDBusObjectProxy.
30
* Convenience macro to get an interface proxy for the remote object represented
31
* by @object_proxy. See egg_dbus_object_proxy_query_interface() for details.
33
* Returns: An instance derived from #EggDBusInterfaceProxy that implements the
34
* #EggZeitgeistDataSourceRegistry interface. This instance can be used to access the
35
* <link linkend="eggdbus-interface-org.gnome.zeitgeist.DataSourceRegistry">org.gnome.zeitgeist.DataSourceRegistry</link> D-Bus interface on the remote
36
* object represented by @object_proxy. Do not ref or unref the returned instance,
37
* it is owned by @object_proxy.
39
#define EGG_ZEITGEIST_QUERY_INTERFACE_DATA_SOURCE_REGISTRY(object_proxy) (EGG_ZEITGEIST_DATA_SOURCE_REGISTRY (egg_dbus_object_proxy_query_interface (object_proxy, EGG_ZEITGEIST_TYPE_DATA_SOURCE_REGISTRY)))
42
* EggZeitgeistDataSourceRegistryIface:
43
* @g_iface: The parent interface.
44
* @handle_register_data_source: FIXME: not documented.
45
* @handle_set_data_source_enabled: FIXME: not documented.
46
* @handle_get_data_sources: FIXME: not documented.
48
* Interface VTable for implementing the <link linkend="eggdbus-interface-org.gnome.zeitgeist.DataSourceRegistry">org.gnome.zeitgeist.DataSourceRegistry</link> D-Bus interface.
50
struct _EggZeitgeistDataSourceRegistryIface
52
EggDBusInterfaceIface g_iface;
54
void (* handle_register_data_source) (
55
EggZeitgeistDataSourceRegistry *instance,
56
const gchar *unique_id,
58
const gchar *description,
59
EggDBusArraySeq *event_templates,
60
EggDBusMethodInvocation *method_invocation);
62
void (* handle_set_data_source_enabled) (
63
EggZeitgeistDataSourceRegistry *instance,
64
const gchar *unique_id,
66
EggDBusMethodInvocation *method_invocation);
68
void (* handle_get_data_sources) (
69
EggZeitgeistDataSourceRegistry *instance,
70
EggDBusMethodInvocation *method_invocation);
73
GType egg_zeitgeist_data_source_registry_get_type (void) G_GNUC_CONST;
75
gboolean egg_zeitgeist_data_source_registry_register_data_source_sync (
76
EggZeitgeistDataSourceRegistry *instance,
77
EggDBusCallFlags call_flags,
78
const gchar *unique_id,
80
const gchar *description,
81
EggDBusArraySeq *event_templates,
83
GCancellable *cancellable,
86
gboolean egg_zeitgeist_data_source_registry_set_data_source_enabled_sync (
87
EggZeitgeistDataSourceRegistry *instance,
88
EggDBusCallFlags call_flags,
89
const gchar *unique_id,
91
GCancellable *cancellable,
94
gboolean egg_zeitgeist_data_source_registry_get_data_sources_sync (
95
EggZeitgeistDataSourceRegistry *instance,
96
EggDBusCallFlags call_flags,
97
EggDBusArraySeq **out_arg_0,
98
GCancellable *cancellable,
101
guint egg_zeitgeist_data_source_registry_register_data_source (
102
EggZeitgeistDataSourceRegistry *instance,
103
EggDBusCallFlags call_flags,
104
const gchar *unique_id,
106
const gchar *description,
107
EggDBusArraySeq *event_templates,
108
GCancellable *cancellable,
109
GAsyncReadyCallback callback,
112
gboolean egg_zeitgeist_data_source_registry_register_data_source_finish (
113
EggZeitgeistDataSourceRegistry *instance,
114
gboolean *out_result,
118
guint egg_zeitgeist_data_source_registry_set_data_source_enabled (
119
EggZeitgeistDataSourceRegistry *instance,
120
EggDBusCallFlags call_flags,
121
const gchar *unique_id,
123
GCancellable *cancellable,
124
GAsyncReadyCallback callback,
127
gboolean egg_zeitgeist_data_source_registry_set_data_source_enabled_finish (
128
EggZeitgeistDataSourceRegistry *instance,
132
guint egg_zeitgeist_data_source_registry_get_data_sources (
133
EggZeitgeistDataSourceRegistry *instance,
134
EggDBusCallFlags call_flags,
135
GCancellable *cancellable,
136
GAsyncReadyCallback callback,
139
gboolean egg_zeitgeist_data_source_registry_get_data_sources_finish (
140
EggZeitgeistDataSourceRegistry *instance,
141
EggDBusArraySeq **out_arg_0,
145
void egg_zeitgeist_data_source_registry_handle_register_data_source_finish (
146
EggDBusMethodInvocation *method_invocation,
147
gboolean out_result);
149
void egg_zeitgeist_data_source_registry_handle_set_data_source_enabled_finish (
150
EggDBusMethodInvocation *method_invocation);
152
void egg_zeitgeist_data_source_registry_handle_get_data_sources_finish (
153
EggDBusMethodInvocation *method_invocation,
154
EggDBusArraySeq *out_arg_0);
156
void egg_zeitgeist_data_source_registry_emit_signal_data_source_registered (
157
EggZeitgeistDataSourceRegistry *instance,
158
const gchar *destination,
159
EggZeitgeistDataSource *arg_0);
161
void egg_zeitgeist_data_source_registry_emit_signal_data_source_disconnected (
162
EggZeitgeistDataSourceRegistry *instance,
163
const gchar *destination,
164
EggZeitgeistDataSource *arg_0);
166
void egg_zeitgeist_data_source_registry_emit_signal_data_source_enabled (
167
EggZeitgeistDataSourceRegistry *instance,
168
const gchar *destination,
169
const gchar *unique_id,
174
#endif /* __EGG_ZEITGEIST_DATA_SOURCE_REGISTRY_H */