/*
 * 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 __MSD_DATETIME_GENERATED_H__
#define __MSD_DATETIME_GENERATED_H__

#include <gio/gio.h>

G_BEGIN_DECLS


/* ------------------------------------------------------------------------ */
/* Declarations for org.mate.SettingsDaemon.DateTimeMechanism */

#define MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM (mate_settings_date_time_mechanism_get_type ())
#define MATE_SETTINGS_DATE_TIME_MECHANISM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM, MateSettingsDateTimeMechanism))
#define MATE_SETTINGS_IS_DATE_TIME_MECHANISM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM))
#define MATE_SETTINGS_DATE_TIME_MECHANISM_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM, MateSettingsDateTimeMechanismIface))

struct _MateSettingsDateTimeMechanism;
typedef struct _MateSettingsDateTimeMechanism MateSettingsDateTimeMechanism;
typedef struct _MateSettingsDateTimeMechanismIface MateSettingsDateTimeMechanismIface;

struct _MateSettingsDateTimeMechanismIface
{
  GTypeInterface parent_iface;

  gboolean (*handle_adjust_time) (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation,
    gint64 arg_seconds_to_add);

  gboolean (*handle_can_set_time) (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_can_set_timezone) (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_get_hardware_clock_using_utc) (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_get_timezone) (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_set_hardware_clock_using_utc) (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation,
    gboolean arg_is_using_utc);

  gboolean (*handle_set_time) (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation,
    gint64 arg_seconds_since_epoch);

  gboolean (*handle_set_timezone) (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_zonefile);

};

GType mate_settings_date_time_mechanism_get_type (void) G_GNUC_CONST;

GDBusInterfaceInfo *mate_settings_date_time_mechanism_interface_info (void);
guint mate_settings_date_time_mechanism_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void mate_settings_date_time_mechanism_complete_set_timezone (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation);

void mate_settings_date_time_mechanism_complete_get_timezone (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation,
    const gchar *timezone);

void mate_settings_date_time_mechanism_complete_can_set_timezone (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation,
    gint value);

void mate_settings_date_time_mechanism_complete_set_time (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation);

void mate_settings_date_time_mechanism_complete_can_set_time (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation,
    gint value);

void mate_settings_date_time_mechanism_complete_adjust_time (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation);

void mate_settings_date_time_mechanism_complete_get_hardware_clock_using_utc (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation,
    gboolean is_using_utc);

void mate_settings_date_time_mechanism_complete_set_hardware_clock_using_utc (
    MateSettingsDateTimeMechanism *object,
    GDBusMethodInvocation *invocation);



/* D-Bus method calls: */
void mate_settings_date_time_mechanism_call_set_timezone (
    MateSettingsDateTimeMechanism *proxy,
    const gchar *arg_zonefile,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean mate_settings_date_time_mechanism_call_set_timezone_finish (
    MateSettingsDateTimeMechanism *proxy,
    GAsyncResult *res,
    GError **error);

gboolean mate_settings_date_time_mechanism_call_set_timezone_sync (
    MateSettingsDateTimeMechanism *proxy,
    const gchar *arg_zonefile,
    GCancellable *cancellable,
    GError **error);

void mate_settings_date_time_mechanism_call_get_timezone (
    MateSettingsDateTimeMechanism *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean mate_settings_date_time_mechanism_call_get_timezone_finish (
    MateSettingsDateTimeMechanism *proxy,
    gchar **out_timezone,
    GAsyncResult *res,
    GError **error);

gboolean mate_settings_date_time_mechanism_call_get_timezone_sync (
    MateSettingsDateTimeMechanism *proxy,
    gchar **out_timezone,
    GCancellable *cancellable,
    GError **error);

void mate_settings_date_time_mechanism_call_can_set_timezone (
    MateSettingsDateTimeMechanism *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean mate_settings_date_time_mechanism_call_can_set_timezone_finish (
    MateSettingsDateTimeMechanism *proxy,
    gint *out_value,
    GAsyncResult *res,
    GError **error);

gboolean mate_settings_date_time_mechanism_call_can_set_timezone_sync (
    MateSettingsDateTimeMechanism *proxy,
    gint *out_value,
    GCancellable *cancellable,
    GError **error);

void mate_settings_date_time_mechanism_call_set_time (
    MateSettingsDateTimeMechanism *proxy,
    gint64 arg_seconds_since_epoch,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean mate_settings_date_time_mechanism_call_set_time_finish (
    MateSettingsDateTimeMechanism *proxy,
    GAsyncResult *res,
    GError **error);

gboolean mate_settings_date_time_mechanism_call_set_time_sync (
    MateSettingsDateTimeMechanism *proxy,
    gint64 arg_seconds_since_epoch,
    GCancellable *cancellable,
    GError **error);

void mate_settings_date_time_mechanism_call_can_set_time (
    MateSettingsDateTimeMechanism *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean mate_settings_date_time_mechanism_call_can_set_time_finish (
    MateSettingsDateTimeMechanism *proxy,
    gint *out_value,
    GAsyncResult *res,
    GError **error);

gboolean mate_settings_date_time_mechanism_call_can_set_time_sync (
    MateSettingsDateTimeMechanism *proxy,
    gint *out_value,
    GCancellable *cancellable,
    GError **error);

void mate_settings_date_time_mechanism_call_adjust_time (
    MateSettingsDateTimeMechanism *proxy,
    gint64 arg_seconds_to_add,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean mate_settings_date_time_mechanism_call_adjust_time_finish (
    MateSettingsDateTimeMechanism *proxy,
    GAsyncResult *res,
    GError **error);

gboolean mate_settings_date_time_mechanism_call_adjust_time_sync (
    MateSettingsDateTimeMechanism *proxy,
    gint64 arg_seconds_to_add,
    GCancellable *cancellable,
    GError **error);

void mate_settings_date_time_mechanism_call_get_hardware_clock_using_utc (
    MateSettingsDateTimeMechanism *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean mate_settings_date_time_mechanism_call_get_hardware_clock_using_utc_finish (
    MateSettingsDateTimeMechanism *proxy,
    gboolean *out_is_using_utc,
    GAsyncResult *res,
    GError **error);

gboolean mate_settings_date_time_mechanism_call_get_hardware_clock_using_utc_sync (
    MateSettingsDateTimeMechanism *proxy,
    gboolean *out_is_using_utc,
    GCancellable *cancellable,
    GError **error);

void mate_settings_date_time_mechanism_call_set_hardware_clock_using_utc (
    MateSettingsDateTimeMechanism *proxy,
    gboolean arg_is_using_utc,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean mate_settings_date_time_mechanism_call_set_hardware_clock_using_utc_finish (
    MateSettingsDateTimeMechanism *proxy,
    GAsyncResult *res,
    GError **error);

gboolean mate_settings_date_time_mechanism_call_set_hardware_clock_using_utc_sync (
    MateSettingsDateTimeMechanism *proxy,
    gboolean arg_is_using_utc,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM_PROXY (mate_settings_date_time_mechanism_proxy_get_type ())
#define MATE_SETTINGS_DATE_TIME_MECHANISM_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM_PROXY, MateSettingsDateTimeMechanismProxy))
#define MATE_SETTINGS_DATE_TIME_MECHANISM_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM_PROXY, MateSettingsDateTimeMechanismProxyClass))
#define MATE_SETTINGS_DATE_TIME_MECHANISM_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM_PROXY, MateSettingsDateTimeMechanismProxyClass))
#define MATE_SETTINGS_IS_DATE_TIME_MECHANISM_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM_PROXY))
#define MATE_SETTINGS_IS_DATE_TIME_MECHANISM_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM_PROXY))

typedef struct _MateSettingsDateTimeMechanismProxy MateSettingsDateTimeMechanismProxy;
typedef struct _MateSettingsDateTimeMechanismProxyClass MateSettingsDateTimeMechanismProxyClass;
typedef struct _MateSettingsDateTimeMechanismProxyPrivate MateSettingsDateTimeMechanismProxyPrivate;

struct _MateSettingsDateTimeMechanismProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  MateSettingsDateTimeMechanismProxyPrivate *priv;
};

struct _MateSettingsDateTimeMechanismProxyClass
{
  GDBusProxyClass parent_class;
};

GType mate_settings_date_time_mechanism_proxy_get_type (void) G_GNUC_CONST;

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

void mate_settings_date_time_mechanism_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
MateSettingsDateTimeMechanism *mate_settings_date_time_mechanism_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
MateSettingsDateTimeMechanism *mate_settings_date_time_mechanism_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void mate_settings_date_time_mechanism_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
MateSettingsDateTimeMechanism *mate_settings_date_time_mechanism_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
MateSettingsDateTimeMechanism *mate_settings_date_time_mechanism_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM_SKELETON (mate_settings_date_time_mechanism_skeleton_get_type ())
#define MATE_SETTINGS_DATE_TIME_MECHANISM_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM_SKELETON, MateSettingsDateTimeMechanismSkeleton))
#define MATE_SETTINGS_DATE_TIME_MECHANISM_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM_SKELETON, MateSettingsDateTimeMechanismSkeletonClass))
#define MATE_SETTINGS_DATE_TIME_MECHANISM_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM_SKELETON, MateSettingsDateTimeMechanismSkeletonClass))
#define MATE_SETTINGS_IS_DATE_TIME_MECHANISM_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM_SKELETON))
#define MATE_SETTINGS_IS_DATE_TIME_MECHANISM_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), MATE_SETTINGS_TYPE_DATE_TIME_MECHANISM_SKELETON))

typedef struct _MateSettingsDateTimeMechanismSkeleton MateSettingsDateTimeMechanismSkeleton;
typedef struct _MateSettingsDateTimeMechanismSkeletonClass MateSettingsDateTimeMechanismSkeletonClass;
typedef struct _MateSettingsDateTimeMechanismSkeletonPrivate MateSettingsDateTimeMechanismSkeletonPrivate;

struct _MateSettingsDateTimeMechanismSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  MateSettingsDateTimeMechanismSkeletonPrivate *priv;
};

struct _MateSettingsDateTimeMechanismSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType mate_settings_date_time_mechanism_skeleton_get_type (void) G_GNUC_CONST;

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

MateSettingsDateTimeMechanism *mate_settings_date_time_mechanism_skeleton_new (void);


G_END_DECLS

#endif /* __MSD_DATETIME_GENERATED_H__ */
