atomes 1.3.2
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
fr_ipcms_atomes-Instance.h
Go to the documentation of this file.
1/*
2 * This file is generated by gdbus-codegen, do not modify it.
3 *
4 * The license of this code is the same as for the D-Bus interface description
5 * it was derived from. Note that it links to GLib, so must comply with the
6 * LGPL linking clauses.
7 */
8
9#ifndef __SRC_D_BUS_FR_IPCMS_ATOMES_INSTANCE_H__
10#define __SRC_D_BUS_FR_IPCMS_ATOMES_INSTANCE_H__
11
12#include <gio/gio.h>
13
14G_BEGIN_DECLS
15
16
17/* ------------------------------------------------------------------------ */
18/* Declarations for fr.ipcms.atomes.Instance */
19
20#define TYPE_INSTANCE (instance_get_type ())
21#define INSTANCE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_INSTANCE, Instance))
22#define IS_INSTANCE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_INSTANCE))
23#define INSTANCE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_INSTANCE, InstanceIface))
24
25struct _Instance;
26typedef struct _Instance Instance;
28
30{
31 GTypeInterface parent_iface;
32
33 gboolean (*handle_open_file) (
34 Instance *object,
35 GDBusMethodInvocation *invocation,
36 const gchar *arg_atomes);
37
38};
39
40GType instance_get_type (void);
41
42GDBusInterfaceInfo *instance_interface_info (void);
43guint instance_override_properties (GObjectClass *klass, guint property_id_begin);
44
45
46/* D-Bus method call completion functions: */
48 Instance *object,
49 GDBusMethodInvocation *invocation);
50
51
52
53/* D-Bus method calls: */
55 Instance *proxy,
56 const gchar *arg_atomes,
57 GCancellable *cancellable,
58 GAsyncReadyCallback callback,
59 gpointer user_data);
60
62 Instance *proxy,
63 GAsyncResult *res,
64 GError **error);
65
67 Instance *proxy,
68 const gchar *arg_atomes,
69 GCancellable *cancellable,
70 GError **error);
71
72
73
74/* ---- */
75
76#define TYPE_INSTANCE_PROXY (instance_proxy_get_type ())
77#define INSTANCE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_INSTANCE_PROXY, InstanceProxy))
78#define INSTANCE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_INSTANCE_PROXY, InstanceProxyClass))
79#define INSTANCE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_INSTANCE_PROXY, InstanceProxyClass))
80#define IS_INSTANCE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_INSTANCE_PROXY))
81#define IS_INSTANCE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_INSTANCE_PROXY))
82
86
88{
89 /*< private >*/
90 GDBusProxy parent_instance;
92};
93
95{
96 GDBusProxyClass parent_class;
97};
98
100
101#if GLIB_CHECK_VERSION(2, 44, 0)
102G_DEFINE_AUTOPTR_CLEANUP_FUNC (InstanceProxy, g_object_unref)
103#endif
104
106 GDBusConnection *connection,
107 GDBusProxyFlags flags,
108 const gchar *name,
109 const gchar *object_path,
110 GCancellable *cancellable,
111 GAsyncReadyCallback callback,
112 gpointer user_data);
114 GAsyncResult *res,
115 GError **error);
117 GDBusConnection *connection,
118 GDBusProxyFlags flags,
119 const gchar *name,
120 const gchar *object_path,
121 GCancellable *cancellable,
122 GError **error);
123
125 GBusType bus_type,
126 GDBusProxyFlags flags,
127 const gchar *name,
128 const gchar *object_path,
129 GCancellable *cancellable,
130 GAsyncReadyCallback callback,
131 gpointer user_data);
133 GAsyncResult *res,
134 GError **error);
136 GBusType bus_type,
137 GDBusProxyFlags flags,
138 const gchar *name,
139 const gchar *object_path,
140 GCancellable *cancellable,
141 GError **error);
142
143
144/* ---- */
145
146#define TYPE_INSTANCE_SKELETON (instance_skeleton_get_type ())
147#define INSTANCE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_INSTANCE_SKELETON, InstanceSkeleton))
148#define INSTANCE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_INSTANCE_SKELETON, InstanceSkeletonClass))
149#define INSTANCE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_INSTANCE_SKELETON, InstanceSkeletonClass))
150#define IS_INSTANCE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_INSTANCE_SKELETON))
151#define IS_INSTANCE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_INSTANCE_SKELETON))
152
156
158{
159 /*< private >*/
160 GDBusInterfaceSkeleton parent_instance;
162};
163
165{
166 GDBusInterfaceSkeletonClass parent_class;
167};
168
170
171#if GLIB_CHECK_VERSION(2, 44, 0)
172G_DEFINE_AUTOPTR_CLEANUP_FUNC (InstanceSkeleton, g_object_unref)
173#endif
174
176
177
178G_END_DECLS
179
180#endif /* __SRC_D_BUS_FR_IPCMS_ATOMES_INSTANCE_H__ */
struct _InstanceProxyPrivate InstanceProxyPrivate
Instance * instance_skeleton_new(void)
struct _InstanceSkeletonClass InstanceSkeletonClass
GType instance_get_type(void)
struct _Instance Instance
guint instance_override_properties(GObjectClass *klass, guint property_id_begin)
struct _InstanceSkeleton InstanceSkeleton
gboolean instance_call_open_file_finish(Instance *proxy, GAsyncResult *res, GError **error)
void instance_call_open_file(Instance *proxy, const gchar *arg_atomes, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
Instance * instance_proxy_new_for_bus_finish(GAsyncResult *res, GError **error)
void instance_complete_open_file(Instance *object, GDBusMethodInvocation *invocation)
GDBusInterfaceInfo * instance_interface_info(void)
struct _InstanceSkeletonPrivate InstanceSkeletonPrivate
GType instance_proxy_get_type(void)
void instance_proxy_new_for_bus(GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
struct _InstanceIface InstanceIface
void instance_proxy_new(GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
struct _InstanceProxyClass InstanceProxyClass
Instance * instance_proxy_new_finish(GAsyncResult *res, GError **error)
gboolean instance_call_open_file_sync(Instance *proxy, const gchar *arg_atomes, GCancellable *cancellable, GError **error)
struct _InstanceProxy InstanceProxy
GType instance_skeleton_get_type(void)
Instance * instance_proxy_new_for_bus_sync(GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
Instance * instance_proxy_new_sync(GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
gboolean(* handle_open_file)(Instance *object, GDBusMethodInvocation *invocation, const gchar *arg_atomes)
GTypeInterface parent_iface
InstanceProxyPrivate * priv
GDBusInterfaceSkeletonClass parent_class
GDBusInterfaceSkeleton parent_instance
InstanceSkeletonPrivate * priv
GtkWidget * res[2]
Definition w_encode.c:342