/*
 * This file is generated by gdbus-codegen, do not modify it.
 *
 * The license of this code is the same as for the D-Bus interface description
 * it was derived from. Note that it links to GLib, so must comply with the
 * LGPL linking clauses.
 */

#ifndef __TERMINAL_SETTINGS_BRIDGE_GENERATED_H__
#define __TERMINAL_SETTINGS_BRIDGE_GENERATED_H__

#include <gio/gio.h>

G_BEGIN_DECLS


/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.Terminal.SettingsBridge */

#define TERMINAL_TYPE_SETTINGS_BRIDGE (terminal_settings_bridge_get_type ())
#define TERMINAL_SETTINGS_BRIDGE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TERMINAL_TYPE_SETTINGS_BRIDGE, TerminalSettingsBridge))
#define TERMINAL_IS_SETTINGS_BRIDGE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TERMINAL_TYPE_SETTINGS_BRIDGE))
#define TERMINAL_SETTINGS_BRIDGE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TERMINAL_TYPE_SETTINGS_BRIDGE, TerminalSettingsBridgeIface))

struct _TerminalSettingsBridge;
typedef struct _TerminalSettingsBridge TerminalSettingsBridge;
typedef struct _TerminalSettingsBridgeIface TerminalSettingsBridgeIface;

struct _TerminalSettingsBridgeIface
{
  GTypeInterface parent_iface;

  gboolean (*handle_get_permission) (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_path);

  gboolean (*handle_get_writable) (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_key);

  gboolean (*handle_read) (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_key,
    const gchar *arg_type,
    gboolean arg_default);

  gboolean (*handle_read_user_value) (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_key,
    const gchar *arg_type);

  gboolean (*handle_reset) (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_key);

  gboolean (*handle_subscribe) (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_name);

  gboolean (*handle_sync) (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_unsubscribe) (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_name);

  gboolean (*handle_write) (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_key,
    GVariant *arg_value);

  gboolean (*handle_write_tree) (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_path_prefix,
    GVariant *arg_tree);

};

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TerminalSettingsBridge, g_object_unref)
#endif

GType terminal_settings_bridge_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *terminal_settings_bridge_interface_info (void);
guint terminal_settings_bridge_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void terminal_settings_bridge_complete_get_permission (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation,
    GVariant *permission);

void terminal_settings_bridge_complete_get_writable (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation,
    gboolean writable);

void terminal_settings_bridge_complete_read (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation,
    GVariant *value);

void terminal_settings_bridge_complete_read_user_value (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation,
    GVariant *value);

void terminal_settings_bridge_complete_reset (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation);

void terminal_settings_bridge_complete_subscribe (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation);

void terminal_settings_bridge_complete_sync (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation);

void terminal_settings_bridge_complete_unsubscribe (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation);

void terminal_settings_bridge_complete_write (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation,
    gboolean success);

void terminal_settings_bridge_complete_write_tree (
    TerminalSettingsBridge *object,
    GDBusMethodInvocation *invocation,
    gboolean success);



/* D-Bus method calls: */
void terminal_settings_bridge_call_get_permission (
    TerminalSettingsBridge *proxy,
    const gchar *arg_path,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean terminal_settings_bridge_call_get_permission_finish (
    TerminalSettingsBridge *proxy,
    GVariant ** out_permission,
    GAsyncResult *res,
    GError **error);

gboolean terminal_settings_bridge_call_get_permission_sync (
    TerminalSettingsBridge *proxy,
    const gchar *arg_path,
    GVariant ** out_permission,
    GCancellable *cancellable,
    GError **error);

void terminal_settings_bridge_call_get_writable (
    TerminalSettingsBridge *proxy,
    const gchar *arg_key,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean terminal_settings_bridge_call_get_writable_finish (
    TerminalSettingsBridge *proxy,
    gboolean* out_writable,
    GAsyncResult *res,
    GError **error);

gboolean terminal_settings_bridge_call_get_writable_sync (
    TerminalSettingsBridge *proxy,
    const gchar *arg_key,
    gboolean* out_writable,
    GCancellable *cancellable,
    GError **error);

void terminal_settings_bridge_call_read (
    TerminalSettingsBridge *proxy,
    const gchar *arg_key,
    const gchar *arg_type,
    gboolean arg_default,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean terminal_settings_bridge_call_read_finish (
    TerminalSettingsBridge *proxy,
    GVariant ** out_value,
    GAsyncResult *res,
    GError **error);

gboolean terminal_settings_bridge_call_read_sync (
    TerminalSettingsBridge *proxy,
    const gchar *arg_key,
    const gchar *arg_type,
    gboolean arg_default,
    GVariant ** out_value,
    GCancellable *cancellable,
    GError **error);

void terminal_settings_bridge_call_read_user_value (
    TerminalSettingsBridge *proxy,
    const gchar *arg_key,
    const gchar *arg_type,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean terminal_settings_bridge_call_read_user_value_finish (
    TerminalSettingsBridge *proxy,
    GVariant ** out_value,
    GAsyncResult *res,
    GError **error);

gboolean terminal_settings_bridge_call_read_user_value_sync (
    TerminalSettingsBridge *proxy,
    const gchar *arg_key,
    const gchar *arg_type,
    GVariant ** out_value,
    GCancellable *cancellable,
    GError **error);

void terminal_settings_bridge_call_reset (
    TerminalSettingsBridge *proxy,
    const gchar *arg_key,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean terminal_settings_bridge_call_reset_finish (
    TerminalSettingsBridge *proxy,
    GAsyncResult *res,
    GError **error);

gboolean terminal_settings_bridge_call_reset_sync (
    TerminalSettingsBridge *proxy,
    const gchar *arg_key,
    GCancellable *cancellable,
    GError **error);

void terminal_settings_bridge_call_subscribe (
    TerminalSettingsBridge *proxy,
    const gchar *arg_name,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean terminal_settings_bridge_call_subscribe_finish (
    TerminalSettingsBridge *proxy,
    GAsyncResult *res,
    GError **error);

gboolean terminal_settings_bridge_call_subscribe_sync (
    TerminalSettingsBridge *proxy,
    const gchar *arg_name,
    GCancellable *cancellable,
    GError **error);

void terminal_settings_bridge_call_sync (
    TerminalSettingsBridge *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean terminal_settings_bridge_call_sync_finish (
    TerminalSettingsBridge *proxy,
    GAsyncResult *res,
    GError **error);

gboolean terminal_settings_bridge_call_sync_sync (
    TerminalSettingsBridge *proxy,
    GCancellable *cancellable,
    GError **error);

void terminal_settings_bridge_call_unsubscribe (
    TerminalSettingsBridge *proxy,
    const gchar *arg_name,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean terminal_settings_bridge_call_unsubscribe_finish (
    TerminalSettingsBridge *proxy,
    GAsyncResult *res,
    GError **error);

gboolean terminal_settings_bridge_call_unsubscribe_sync (
    TerminalSettingsBridge *proxy,
    const gchar *arg_name,
    GCancellable *cancellable,
    GError **error);

void terminal_settings_bridge_call_write (
    TerminalSettingsBridge *proxy,
    const gchar *arg_key,
    GVariant *arg_value,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean terminal_settings_bridge_call_write_finish (
    TerminalSettingsBridge *proxy,
    gboolean* out_success,
    GAsyncResult *res,
    GError **error);

gboolean terminal_settings_bridge_call_write_sync (
    TerminalSettingsBridge *proxy,
    const gchar *arg_key,
    GVariant *arg_value,
    gboolean* out_success,
    GCancellable *cancellable,
    GError **error);

void terminal_settings_bridge_call_write_tree (
    TerminalSettingsBridge *proxy,
    const gchar *arg_path_prefix,
    GVariant *arg_tree,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean terminal_settings_bridge_call_write_tree_finish (
    TerminalSettingsBridge *proxy,
    gboolean* out_success,
    GAsyncResult *res,
    GError **error);

gboolean terminal_settings_bridge_call_write_tree_sync (
    TerminalSettingsBridge *proxy,
    const gchar *arg_path_prefix,
    GVariant *arg_tree,
    gboolean* out_success,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define TERMINAL_TYPE_SETTINGS_BRIDGE_PROXY (terminal_settings_bridge_proxy_get_type ())
#define TERMINAL_SETTINGS_BRIDGE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TERMINAL_TYPE_SETTINGS_BRIDGE_PROXY, TerminalSettingsBridgeProxy))
#define TERMINAL_SETTINGS_BRIDGE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TERMINAL_TYPE_SETTINGS_BRIDGE_PROXY, TerminalSettingsBridgeProxyClass))
#define TERMINAL_SETTINGS_BRIDGE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TERMINAL_TYPE_SETTINGS_BRIDGE_PROXY, TerminalSettingsBridgeProxyClass))
#define TERMINAL_IS_SETTINGS_BRIDGE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TERMINAL_TYPE_SETTINGS_BRIDGE_PROXY))
#define TERMINAL_IS_SETTINGS_BRIDGE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TERMINAL_TYPE_SETTINGS_BRIDGE_PROXY))

typedef struct _TerminalSettingsBridgeProxy TerminalSettingsBridgeProxy;
typedef struct _TerminalSettingsBridgeProxyClass TerminalSettingsBridgeProxyClass;
typedef struct _TerminalSettingsBridgeProxyPrivate TerminalSettingsBridgeProxyPrivate;

struct _TerminalSettingsBridgeProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  TerminalSettingsBridgeProxyPrivate *priv;
};

struct _TerminalSettingsBridgeProxyClass
{
  GDBusProxyClass parent_class;
};

GType terminal_settings_bridge_proxy_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TerminalSettingsBridgeProxy, g_object_unref)
#endif

void terminal_settings_bridge_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
TerminalSettingsBridge *terminal_settings_bridge_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
TerminalSettingsBridge *terminal_settings_bridge_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void terminal_settings_bridge_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
TerminalSettingsBridge *terminal_settings_bridge_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
TerminalSettingsBridge *terminal_settings_bridge_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define TERMINAL_TYPE_SETTINGS_BRIDGE_SKELETON (terminal_settings_bridge_skeleton_get_type ())
#define TERMINAL_SETTINGS_BRIDGE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TERMINAL_TYPE_SETTINGS_BRIDGE_SKELETON, TerminalSettingsBridgeSkeleton))
#define TERMINAL_SETTINGS_BRIDGE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TERMINAL_TYPE_SETTINGS_BRIDGE_SKELETON, TerminalSettingsBridgeSkeletonClass))
#define TERMINAL_SETTINGS_BRIDGE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TERMINAL_TYPE_SETTINGS_BRIDGE_SKELETON, TerminalSettingsBridgeSkeletonClass))
#define TERMINAL_IS_SETTINGS_BRIDGE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TERMINAL_TYPE_SETTINGS_BRIDGE_SKELETON))
#define TERMINAL_IS_SETTINGS_BRIDGE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TERMINAL_TYPE_SETTINGS_BRIDGE_SKELETON))

typedef struct _TerminalSettingsBridgeSkeleton TerminalSettingsBridgeSkeleton;
typedef struct _TerminalSettingsBridgeSkeletonClass TerminalSettingsBridgeSkeletonClass;
typedef struct _TerminalSettingsBridgeSkeletonPrivate TerminalSettingsBridgeSkeletonPrivate;

struct _TerminalSettingsBridgeSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  TerminalSettingsBridgeSkeletonPrivate *priv;
};

struct _TerminalSettingsBridgeSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType terminal_settings_bridge_skeleton_get_type (void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TerminalSettingsBridgeSkeleton, g_object_unref)
#endif

TerminalSettingsBridge *terminal_settings_bridge_skeleton_new (void);


G_END_DECLS

#endif /* __TERMINAL_SETTINGS_BRIDGE_GENERATED_H__ */
