Norman James | 471ab59 | 2015-08-30 22:29:40 -0500 | [diff] [blame] | 1 | /* |
| 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 | |
| 12 | G_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 | |
| 23 | struct _EventLog; |
| 24 | typedef struct _EventLog EventLog; |
| 25 | typedef struct _EventLogIface EventLogIface; |
| 26 | |
| 27 | struct _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 | |
| 45 | GType event_log_get_type (void) G_GNUC_CONST; |
| 46 | |
| 47 | GDBusInterfaceInfo *event_log_interface_info (void); |
| 48 | guint event_log_override_properties (GObjectClass *klass, guint property_id_begin); |
| 49 | |
| 50 | |
| 51 | /* D-Bus method call completion functions: */ |
| 52 | void event_log_complete_get_message ( |
| 53 | EventLog *object, |
| 54 | GDBusMethodInvocation *invocation, |
| 55 | GVariant *message); |
| 56 | |
| 57 | |
| 58 | |
| 59 | /* D-Bus signal emissions functions: */ |
| 60 | void event_log_emit_event ( |
| 61 | EventLog *object, |
| 62 | GVariant *arg_message); |
| 63 | |
| 64 | |
| 65 | |
| 66 | /* D-Bus method calls: */ |
| 67 | void event_log_call_get_message ( |
| 68 | EventLog *proxy, |
| 69 | GCancellable *cancellable, |
| 70 | GAsyncReadyCallback callback, |
| 71 | gpointer user_data); |
| 72 | |
| 73 | gboolean event_log_call_get_message_finish ( |
| 74 | EventLog *proxy, |
| 75 | GVariant **out_message, |
| 76 | GAsyncResult *res, |
| 77 | GError **error); |
| 78 | |
| 79 | gboolean 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: */ |
| 88 | GVariant *event_log_get_message (EventLog *object); |
| 89 | GVariant *event_log_dup_message (EventLog *object); |
| 90 | void 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 | |
| 102 | typedef struct _EventLogProxy EventLogProxy; |
| 103 | typedef struct _EventLogProxyClass EventLogProxyClass; |
| 104 | typedef struct _EventLogProxyPrivate EventLogProxyPrivate; |
| 105 | |
| 106 | struct _EventLogProxy |
| 107 | { |
| 108 | /*< private >*/ |
| 109 | GDBusProxy parent_instance; |
| 110 | EventLogProxyPrivate *priv; |
| 111 | }; |
| 112 | |
| 113 | struct _EventLogProxyClass |
| 114 | { |
| 115 | GDBusProxyClass parent_class; |
| 116 | }; |
| 117 | |
| 118 | GType event_log_proxy_get_type (void) G_GNUC_CONST; |
| 119 | |
| 120 | void 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); |
| 128 | EventLog *event_log_proxy_new_finish ( |
| 129 | GAsyncResult *res, |
| 130 | GError **error); |
| 131 | EventLog *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 | |
| 139 | void 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); |
| 147 | EventLog *event_log_proxy_new_for_bus_finish ( |
| 148 | GAsyncResult *res, |
| 149 | GError **error); |
| 150 | EventLog *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 | |
| 168 | typedef struct _EventLogSkeleton EventLogSkeleton; |
| 169 | typedef struct _EventLogSkeletonClass EventLogSkeletonClass; |
| 170 | typedef struct _EventLogSkeletonPrivate EventLogSkeletonPrivate; |
| 171 | |
| 172 | struct _EventLogSkeleton |
| 173 | { |
| 174 | /*< private >*/ |
| 175 | GDBusInterfaceSkeleton parent_instance; |
| 176 | EventLogSkeletonPrivate *priv; |
| 177 | }; |
| 178 | |
| 179 | struct _EventLogSkeletonClass |
| 180 | { |
| 181 | GDBusInterfaceSkeletonClass parent_class; |
| 182 | }; |
| 183 | |
| 184 | GType event_log_skeleton_get_type (void) G_GNUC_CONST; |
| 185 | |
| 186 | EventLog *event_log_skeleton_new (void); |
| 187 | |
| 188 | |
| 189 | G_END_DECLS |
| 190 | |
| 191 | #endif /* __INTERFACES_EVENTLOG_H__ */ |