blob: 25cd73dab874366421968d93abd634c80dde4416 [file] [log] [blame]
Norman James471ab592015-08-30 22:29:40 -05001/*
2 * Generated by gdbus-codegen 2.40.2. DO NOT EDIT.
3 *
4 * The license of this code is the same as for the source it was derived from.
5 */
6
7#ifndef __INTERFACES_EVENTLOG_H__
8#define __INTERFACES_EVENTLOG_H__
9
10#include <gio/gio.h>
11
12G_BEGIN_DECLS
13
14
15/* ------------------------------------------------------------------------ */
16/* Declarations for org.openbmc.EventLog */
17
18#define TYPE_EVENT_LOG (event_log_get_type ())
19#define EVENT_LOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG, EventLog))
20#define IS_EVENT_LOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG))
21#define EVENT_LOG_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_EVENT_LOG, EventLogIface))
22
23struct _EventLog;
24typedef struct _EventLog EventLog;
25typedef struct _EventLogIface EventLogIface;
26
27struct _EventLogIface
28{
29 GTypeInterface parent_iface;
30
31
32
33 gboolean (*handle_get_message) (
34 EventLog *object,
35 GDBusMethodInvocation *invocation);
36
37 GVariant * (*get_message) (EventLog *object);
38
39 void (*event) (
40 EventLog *object,
41 GVariant *arg_message);
42
43};
44
45GType event_log_get_type (void) G_GNUC_CONST;
46
47GDBusInterfaceInfo *event_log_interface_info (void);
48guint event_log_override_properties (GObjectClass *klass, guint property_id_begin);
49
50
51/* D-Bus method call completion functions: */
52void event_log_complete_get_message (
53 EventLog *object,
54 GDBusMethodInvocation *invocation,
55 GVariant *message);
56
57
58
59/* D-Bus signal emissions functions: */
60void event_log_emit_event (
61 EventLog *object,
62 GVariant *arg_message);
63
64
65
66/* D-Bus method calls: */
67void event_log_call_get_message (
68 EventLog *proxy,
69 GCancellable *cancellable,
70 GAsyncReadyCallback callback,
71 gpointer user_data);
72
73gboolean event_log_call_get_message_finish (
74 EventLog *proxy,
75 GVariant **out_message,
76 GAsyncResult *res,
77 GError **error);
78
79gboolean event_log_call_get_message_sync (
80 EventLog *proxy,
81 GVariant **out_message,
82 GCancellable *cancellable,
83 GError **error);
84
85
86
87/* D-Bus property accessors: */
88GVariant *event_log_get_message (EventLog *object);
89GVariant *event_log_dup_message (EventLog *object);
90void event_log_set_message (EventLog *object, GVariant *value);
91
92
93/* ---- */
94
95#define TYPE_EVENT_LOG_PROXY (event_log_proxy_get_type ())
96#define EVENT_LOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG_PROXY, EventLogProxy))
97#define EVENT_LOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_EVENT_LOG_PROXY, EventLogProxyClass))
98#define EVENT_LOG_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_EVENT_LOG_PROXY, EventLogProxyClass))
99#define IS_EVENT_LOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG_PROXY))
100#define IS_EVENT_LOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_EVENT_LOG_PROXY))
101
102typedef struct _EventLogProxy EventLogProxy;
103typedef struct _EventLogProxyClass EventLogProxyClass;
104typedef struct _EventLogProxyPrivate EventLogProxyPrivate;
105
106struct _EventLogProxy
107{
108 /*< private >*/
109 GDBusProxy parent_instance;
110 EventLogProxyPrivate *priv;
111};
112
113struct _EventLogProxyClass
114{
115 GDBusProxyClass parent_class;
116};
117
118GType event_log_proxy_get_type (void) G_GNUC_CONST;
119
120void event_log_proxy_new (
121 GDBusConnection *connection,
122 GDBusProxyFlags flags,
123 const gchar *name,
124 const gchar *object_path,
125 GCancellable *cancellable,
126 GAsyncReadyCallback callback,
127 gpointer user_data);
128EventLog *event_log_proxy_new_finish (
129 GAsyncResult *res,
130 GError **error);
131EventLog *event_log_proxy_new_sync (
132 GDBusConnection *connection,
133 GDBusProxyFlags flags,
134 const gchar *name,
135 const gchar *object_path,
136 GCancellable *cancellable,
137 GError **error);
138
139void event_log_proxy_new_for_bus (
140 GBusType bus_type,
141 GDBusProxyFlags flags,
142 const gchar *name,
143 const gchar *object_path,
144 GCancellable *cancellable,
145 GAsyncReadyCallback callback,
146 gpointer user_data);
147EventLog *event_log_proxy_new_for_bus_finish (
148 GAsyncResult *res,
149 GError **error);
150EventLog *event_log_proxy_new_for_bus_sync (
151 GBusType bus_type,
152 GDBusProxyFlags flags,
153 const gchar *name,
154 const gchar *object_path,
155 GCancellable *cancellable,
156 GError **error);
157
158
159/* ---- */
160
161#define TYPE_EVENT_LOG_SKELETON (event_log_skeleton_get_type ())
162#define EVENT_LOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG_SKELETON, EventLogSkeleton))
163#define EVENT_LOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_EVENT_LOG_SKELETON, EventLogSkeletonClass))
164#define EVENT_LOG_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_EVENT_LOG_SKELETON, EventLogSkeletonClass))
165#define IS_EVENT_LOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG_SKELETON))
166#define IS_EVENT_LOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_EVENT_LOG_SKELETON))
167
168typedef struct _EventLogSkeleton EventLogSkeleton;
169typedef struct _EventLogSkeletonClass EventLogSkeletonClass;
170typedef struct _EventLogSkeletonPrivate EventLogSkeletonPrivate;
171
172struct _EventLogSkeleton
173{
174 /*< private >*/
175 GDBusInterfaceSkeleton parent_instance;
176 EventLogSkeletonPrivate *priv;
177};
178
179struct _EventLogSkeletonClass
180{
181 GDBusInterfaceSkeletonClass parent_class;
182};
183
184GType event_log_skeleton_get_type (void) G_GNUC_CONST;
185
186EventLog *event_log_skeleton_new (void);
187
188
189G_END_DECLS
190
191#endif /* __INTERFACES_EVENTLOG_H__ */