get rid of non-generated interface headers, we don't need them
[systembsd.git] / src / interfaces / timedated / timedated-gen.h
index bf45d6b31fd7b945c6d5e986f3e1aa5ffe5f472c..3ce1f0650ecbab6c7bcd6221beaf8e228d2e3cfd 100644 (file)
@@ -4,8 +4,8 @@
  * The license of this code is the same as for the source it was derived from.
  */
 
-#ifndef __TIMEDATED_GEN_H__
-#define __TIMEDATED_GEN_H__
+#ifndef __SRC_INTERFACES_TIMEDATED_TIMEDATED_GEN_H__
+#define __SRC_INTERFACES_TIMEDATED_TIMEDATED_GEN_H__
 
 #include <gio/gio.h>
 
@@ -15,206 +15,226 @@ G_BEGIN_DECLS
 /* ------------------------------------------------------------------------ */
 /* Declarations for org.freedesktop.timedate1 */
 
-#define TIMEDATED_TYPE_ (timedated__get_type ())
-#define TIMEDATED_(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TIMEDATED_TYPE_, Timedated))
-#define TIMEDATED_IS_(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TIMEDATED_TYPE_))
-#define TIMEDATED__GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TIMEDATED_TYPE_, TimedatedIface))
+#define TIMEDATED_TYPE_TIMEDATE1 (timedated_timedate1_get_type ())
+#define TIMEDATED_TIMEDATE1(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TIMEDATED_TYPE_TIMEDATE1, timedatedTimedate1))
+#define TIMEDATED_IS_TIMEDATE1(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TIMEDATED_TYPE_TIMEDATE1))
+#define TIMEDATED_TIMEDATE1_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TIMEDATED_TYPE_TIMEDATE1, timedatedTimedate1Iface))
 
-struct _Timedated;
-typedef struct _Timedated Timedated;
-typedef struct _TimedatedIface TimedatedIface;
+struct _timedatedTimedate1;
+typedef struct _timedatedTimedate1 timedatedTimedate1;
+typedef struct _timedatedTimedate1Iface timedatedTimedate1Iface;
 
-struct _TimedatedIface
+struct _timedatedTimedate1Iface
 {
   GTypeInterface parent_iface;
 
 
   gboolean (*handle_set_local_rtc) (
-    Timedated *object,
+    timedatedTimedate1 *object,
     GDBusMethodInvocation *invocation,
-    gboolean arg_local_rtc,
-    gboolean arg_fix_system,
-    gboolean arg_user_interaction);
+    gboolean arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
+    gboolean arg_unnamed_arg2);
 
   gboolean (*handle_set_ntp) (
-    Timedated *object,
+    timedatedTimedate1 *object,
     GDBusMethodInvocation *invocation,
-    gboolean arg_use_ntp,
-    gboolean arg_user_interaction);
+    gboolean arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1);
 
   gboolean (*handle_set_time) (
-    Timedated *object,
+    timedatedTimedate1 *object,
     GDBusMethodInvocation *invocation,
-    gint64 arg_usec_utc,
-    gboolean arg_relative,
-    gboolean arg_user_interaction);
+    gint64 arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
+    gboolean arg_unnamed_arg2);
 
   gboolean (*handle_set_timezone) (
-    Timedated *object,
+    timedatedTimedate1 *object,
     GDBusMethodInvocation *invocation,
-    const gchar *arg_timezone,
-    gboolean arg_user_interaction);
+    const gchar *arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1);
 
-  gboolean  (*get_local_rtc) (Timedated *object);
+  gboolean  (*get_can_ntp) (timedatedTimedate1 *object);
 
-  gboolean  (*get_ntp) (Timedated *object);
+  gboolean  (*get_local_rtc) (timedatedTimedate1 *object);
 
-  const gchar * (*get_timezone) (Timedated *object);
+  gboolean  (*get_ntp) (timedatedTimedate1 *object);
+
+  gboolean  (*get_ntpsynchronized) (timedatedTimedate1 *object);
+
+  guint64  (*get_rtctime_usec) (timedatedTimedate1 *object);
+
+  guint64  (*get_time_usec) (timedatedTimedate1 *object);
+
+  const gchar * (*get_timezone) (timedatedTimedate1 *object);
 
 };
 
-GType timedated__get_type (void) G_GNUC_CONST;
+GType timedated_timedate1_get_type (void) G_GNUC_CONST;
 
-GDBusInterfaceInfo *timedated__interface_info (void);
-guint timedated__override_properties (GObjectClass *klass, guint property_id_begin);
+GDBusInterfaceInfo *timedated_timedate1_interface_info (void);
+guint timedated_timedate1_override_properties (GObjectClass *klass, guint property_id_begin);
 
 
 /* D-Bus method call completion functions: */
-void timedated__complete_set_time (
-    Timedated *object,
+void timedated_timedate1_complete_set_time (
+    timedatedTimedate1 *object,
     GDBusMethodInvocation *invocation);
 
-void timedated__complete_set_timezone (
-    Timedated *object,
+void timedated_timedate1_complete_set_timezone (
+    timedatedTimedate1 *object,
     GDBusMethodInvocation *invocation);
 
-void timedated__complete_set_local_rtc (
-    Timedated *object,
+void timedated_timedate1_complete_set_local_rtc (
+    timedatedTimedate1 *object,
     GDBusMethodInvocation *invocation);
 
-void timedated__complete_set_ntp (
-    Timedated *object,
+void timedated_timedate1_complete_set_ntp (
+    timedatedTimedate1 *object,
     GDBusMethodInvocation *invocation);
 
 
 
 /* D-Bus method calls: */
-void timedated__call_set_time (
-    Timedated *proxy,
-    gint64 arg_usec_utc,
-    gboolean arg_relative,
-    gboolean arg_user_interaction,
+void timedated_timedate1_call_set_time (
+    timedatedTimedate1 *proxy,
+    gint64 arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
+    gboolean arg_unnamed_arg2,
     GCancellable *cancellable,
     GAsyncReadyCallback callback,
     gpointer user_data);
 
-gboolean timedated__call_set_time_finish (
-    Timedated *proxy,
+gboolean timedated_timedate1_call_set_time_finish (
+    timedatedTimedate1 *proxy,
     GAsyncResult *res,
     GError **error);
 
-gboolean timedated__call_set_time_sync (
-    Timedated *proxy,
-    gint64 arg_usec_utc,
-    gboolean arg_relative,
-    gboolean arg_user_interaction,
+gboolean timedated_timedate1_call_set_time_sync (
+    timedatedTimedate1 *proxy,
+    gint64 arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
+    gboolean arg_unnamed_arg2,
     GCancellable *cancellable,
     GError **error);
 
-void timedated__call_set_timezone (
-    Timedated *proxy,
-    const gchar *arg_timezone,
-    gboolean arg_user_interaction,
+void timedated_timedate1_call_set_timezone (
+    timedatedTimedate1 *proxy,
+    const gchar *arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
     GCancellable *cancellable,
     GAsyncReadyCallback callback,
     gpointer user_data);
 
-gboolean timedated__call_set_timezone_finish (
-    Timedated *proxy,
+gboolean timedated_timedate1_call_set_timezone_finish (
+    timedatedTimedate1 *proxy,
     GAsyncResult *res,
     GError **error);
 
-gboolean timedated__call_set_timezone_sync (
-    Timedated *proxy,
-    const gchar *arg_timezone,
-    gboolean arg_user_interaction,
+gboolean timedated_timedate1_call_set_timezone_sync (
+    timedatedTimedate1 *proxy,
+    const gchar *arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
     GCancellable *cancellable,
     GError **error);
 
-void timedated__call_set_local_rtc (
-    Timedated *proxy,
-    gboolean arg_local_rtc,
-    gboolean arg_fix_system,
-    gboolean arg_user_interaction,
+void timedated_timedate1_call_set_local_rtc (
+    timedatedTimedate1 *proxy,
+    gboolean arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
+    gboolean arg_unnamed_arg2,
     GCancellable *cancellable,
     GAsyncReadyCallback callback,
     gpointer user_data);
 
-gboolean timedated__call_set_local_rtc_finish (
-    Timedated *proxy,
+gboolean timedated_timedate1_call_set_local_rtc_finish (
+    timedatedTimedate1 *proxy,
     GAsyncResult *res,
     GError **error);
 
-gboolean timedated__call_set_local_rtc_sync (
-    Timedated *proxy,
-    gboolean arg_local_rtc,
-    gboolean arg_fix_system,
-    gboolean arg_user_interaction,
+gboolean timedated_timedate1_call_set_local_rtc_sync (
+    timedatedTimedate1 *proxy,
+    gboolean arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
+    gboolean arg_unnamed_arg2,
     GCancellable *cancellable,
     GError **error);
 
-void timedated__call_set_ntp (
-    Timedated *proxy,
-    gboolean arg_use_ntp,
-    gboolean arg_user_interaction,
+void timedated_timedate1_call_set_ntp (
+    timedatedTimedate1 *proxy,
+    gboolean arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
     GCancellable *cancellable,
     GAsyncReadyCallback callback,
     gpointer user_data);
 
-gboolean timedated__call_set_ntp_finish (
-    Timedated *proxy,
+gboolean timedated_timedate1_call_set_ntp_finish (
+    timedatedTimedate1 *proxy,
     GAsyncResult *res,
     GError **error);
 
-gboolean timedated__call_set_ntp_sync (
-    Timedated *proxy,
-    gboolean arg_use_ntp,
-    gboolean arg_user_interaction,
+gboolean timedated_timedate1_call_set_ntp_sync (
+    timedatedTimedate1 *proxy,
+    gboolean arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
     GCancellable *cancellable,
     GError **error);
 
 
 
 /* D-Bus property accessors: */
-const gchar *timedated__get_timezone (Timedated *object);
-gchar *timedated__dup_timezone (Timedated *object);
-void timedated__set_timezone (Timedated *object, const gchar *value);
+const gchar *timedated_timedate1_get_timezone (timedatedTimedate1 *object);
+gchar *timedated_timedate1_dup_timezone (timedatedTimedate1 *object);
+void timedated_timedate1_set_timezone (timedatedTimedate1 *object, const gchar *value);
+
+gboolean timedated_timedate1_get_local_rtc (timedatedTimedate1 *object);
+void timedated_timedate1_set_local_rtc (timedatedTimedate1 *object, gboolean value);
+
+gboolean timedated_timedate1_get_can_ntp (timedatedTimedate1 *object);
+void timedated_timedate1_set_can_ntp (timedatedTimedate1 *object, gboolean value);
+
+gboolean timedated_timedate1_get_ntp (timedatedTimedate1 *object);
+void timedated_timedate1_set_ntp (timedatedTimedate1 *object, gboolean value);
+
+gboolean timedated_timedate1_get_ntpsynchronized (timedatedTimedate1 *object);
+void timedated_timedate1_set_ntpsynchronized (timedatedTimedate1 *object, gboolean value);
 
-gboolean timedated__get_local_rtc (Timedated *object);
-void timedated__set_local_rtc (Timedated *object, gboolean value);
+guint64 timedated_timedate1_get_time_usec (timedatedTimedate1 *object);
+void timedated_timedate1_set_time_usec (timedatedTimedate1 *object, guint64 value);
 
-gboolean timedated__get_ntp (Timedated *object);
-void timedated__set_ntp (Timedated *object, gboolean value);
+guint64 timedated_timedate1_get_rtctime_usec (timedatedTimedate1 *object);
+void timedated_timedate1_set_rtctime_usec (timedatedTimedate1 *object, guint64 value);
 
 
 /* ---- */
 
-#define TIMEDATED_TYPE__PROXY (timedated__proxy_get_type ())
-#define TIMEDATED__PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TIMEDATED_TYPE__PROXY, TimedatedProxy))
-#define TIMEDATED__PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TIMEDATED_TYPE__PROXY, TimedatedProxyClass))
-#define TIMEDATED__PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TIMEDATED_TYPE__PROXY, TimedatedProxyClass))
-#define TIMEDATED_IS__PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TIMEDATED_TYPE__PROXY))
-#define TIMEDATED_IS__PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TIMEDATED_TYPE__PROXY))
+#define TIMEDATED_TYPE_TIMEDATE1_PROXY (timedated_timedate1_proxy_get_type ())
+#define TIMEDATED_TIMEDATE1_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TIMEDATED_TYPE_TIMEDATE1_PROXY, timedatedTimedate1Proxy))
+#define TIMEDATED_TIMEDATE1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TIMEDATED_TYPE_TIMEDATE1_PROXY, timedatedTimedate1ProxyClass))
+#define TIMEDATED_TIMEDATE1_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TIMEDATED_TYPE_TIMEDATE1_PROXY, timedatedTimedate1ProxyClass))
+#define TIMEDATED_IS_TIMEDATE1_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TIMEDATED_TYPE_TIMEDATE1_PROXY))
+#define TIMEDATED_IS_TIMEDATE1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TIMEDATED_TYPE_TIMEDATE1_PROXY))
 
-typedef struct _TimedatedProxy TimedatedProxy;
-typedef struct _TimedatedProxyClass TimedatedProxyClass;
-typedef struct _TimedatedProxyPrivate TimedatedProxyPrivate;
+typedef struct _timedatedTimedate1Proxy timedatedTimedate1Proxy;
+typedef struct _timedatedTimedate1ProxyClass timedatedTimedate1ProxyClass;
+typedef struct _timedatedTimedate1ProxyPrivate timedatedTimedate1ProxyPrivate;
 
-struct _TimedatedProxy
+struct _timedatedTimedate1Proxy
 {
   /*< private >*/
   GDBusProxy parent_instance;
-  TimedatedProxyPrivate *priv;
+  timedatedTimedate1ProxyPrivate *priv;
 };
 
-struct _TimedatedProxyClass
+struct _timedatedTimedate1ProxyClass
 {
   GDBusProxyClass parent_class;
 };
 
-GType timedated__proxy_get_type (void) G_GNUC_CONST;
+GType timedated_timedate1_proxy_get_type (void) G_GNUC_CONST;
 
-void timedated__proxy_new (
+void timedated_timedate1_proxy_new (
     GDBusConnection     *connection,
     GDBusProxyFlags      flags,
     const gchar         *name,
@@ -222,10 +242,10 @@ void timedated__proxy_new (
     GCancellable        *cancellable,
     GAsyncReadyCallback  callback,
     gpointer             user_data);
-Timedated *timedated__proxy_new_finish (
+timedatedTimedate1 *timedated_timedate1_proxy_new_finish (
     GAsyncResult        *res,
     GError             **error);
-Timedated *timedated__proxy_new_sync (
+timedatedTimedate1 *timedated_timedate1_proxy_new_sync (
     GDBusConnection     *connection,
     GDBusProxyFlags      flags,
     const gchar         *name,
@@ -233,7 +253,7 @@ Timedated *timedated__proxy_new_sync (
     GCancellable        *cancellable,
     GError             **error);
 
-void timedated__proxy_new_for_bus (
+void timedated_timedate1_proxy_new_for_bus (
     GBusType             bus_type,
     GDBusProxyFlags      flags,
     const gchar         *name,
@@ -241,10 +261,10 @@ void timedated__proxy_new_for_bus (
     GCancellable        *cancellable,
     GAsyncReadyCallback  callback,
     gpointer             user_data);
-Timedated *timedated__proxy_new_for_bus_finish (
+timedatedTimedate1 *timedated_timedate1_proxy_new_for_bus_finish (
     GAsyncResult        *res,
     GError             **error);
-Timedated *timedated__proxy_new_for_bus_sync (
+timedatedTimedate1 *timedated_timedate1_proxy_new_for_bus_sync (
     GBusType             bus_type,
     GDBusProxyFlags      flags,
     const gchar         *name,
@@ -255,34 +275,34 @@ Timedated *timedated__proxy_new_for_bus_sync (
 
 /* ---- */
 
-#define TIMEDATED_TYPE__SKELETON (timedated__skeleton_get_type ())
-#define TIMEDATED__SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TIMEDATED_TYPE__SKELETON, TimedatedSkeleton))
-#define TIMEDATED__SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TIMEDATED_TYPE__SKELETON, TimedatedSkeletonClass))
-#define TIMEDATED__SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TIMEDATED_TYPE__SKELETON, TimedatedSkeletonClass))
-#define TIMEDATED_IS__SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TIMEDATED_TYPE__SKELETON))
-#define TIMEDATED_IS__SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TIMEDATED_TYPE__SKELETON))
+#define TIMEDATED_TYPE_TIMEDATE1_SKELETON (timedated_timedate1_skeleton_get_type ())
+#define TIMEDATED_TIMEDATE1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TIMEDATED_TYPE_TIMEDATE1_SKELETON, timedatedTimedate1Skeleton))
+#define TIMEDATED_TIMEDATE1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TIMEDATED_TYPE_TIMEDATE1_SKELETON, timedatedTimedate1SkeletonClass))
+#define TIMEDATED_TIMEDATE1_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TIMEDATED_TYPE_TIMEDATE1_SKELETON, timedatedTimedate1SkeletonClass))
+#define TIMEDATED_IS_TIMEDATE1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TIMEDATED_TYPE_TIMEDATE1_SKELETON))
+#define TIMEDATED_IS_TIMEDATE1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TIMEDATED_TYPE_TIMEDATE1_SKELETON))
 
-typedef struct _TimedatedSkeleton TimedatedSkeleton;
-typedef struct _TimedatedSkeletonClass TimedatedSkeletonClass;
-typedef struct _TimedatedSkeletonPrivate TimedatedSkeletonPrivate;
+typedef struct _timedatedTimedate1Skeleton timedatedTimedate1Skeleton;
+typedef struct _timedatedTimedate1SkeletonClass timedatedTimedate1SkeletonClass;
+typedef struct _timedatedTimedate1SkeletonPrivate timedatedTimedate1SkeletonPrivate;
 
-struct _TimedatedSkeleton
+struct _timedatedTimedate1Skeleton
 {
   /*< private >*/
   GDBusInterfaceSkeleton parent_instance;
-  TimedatedSkeletonPrivate *priv;
+  timedatedTimedate1SkeletonPrivate *priv;
 };
 
-struct _TimedatedSkeletonClass
+struct _timedatedTimedate1SkeletonClass
 {
   GDBusInterfaceSkeletonClass parent_class;
 };
 
-GType timedated__skeleton_get_type (void) G_GNUC_CONST;
+GType timedated_timedate1_skeleton_get_type (void) G_GNUC_CONST;
 
-Timedated *timedated__skeleton_new (void);
+timedatedTimedate1 *timedated_timedate1_skeleton_new (void);
 
 
 G_END_DECLS
 
-#endif /* __TIMEDATED_GEN_H__ */
+#endif /* __SRC_INTERFACES_TIMEDATED_TIMEDATED_GEN_H__ */