refactor makefile with env variables
[systembsd.git] / src / interfaces / timedated / timedated-gen.h
index bf45d6b31fd7b945c6d5e986f3e1aa5ffe5f472c..515c8191dffeb1bd35699d0d5133b276741898f2 100644 (file)
@@ -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 TYPE_TIMEDATE1 (timedate1_get_type ())
+#define TIMEDATE1(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_TIMEDATE1, Timedate1))
+#define IS_TIMEDATE1(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_TIMEDATE1))
+#define TIMEDATE1_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_TIMEDATE1, Timedate1Iface))
 
-struct _Timedated;
-typedef struct _Timedated Timedated;
-typedef struct _TimedatedIface TimedatedIface;
+struct _Timedate1;
+typedef struct _Timedate1 Timedate1;
+typedef struct _Timedate1Iface Timedate1Iface;
 
-struct _TimedatedIface
+struct _Timedate1Iface
 {
   GTypeInterface parent_iface;
 
 
   gboolean (*handle_set_local_rtc) (
-    Timedated *object,
+    Timedate1 *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,
+    Timedate1 *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,
+    Timedate1 *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,
+    Timedate1 *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) (Timedate1 *object);
 
-  gboolean  (*get_ntp) (Timedated *object);
+  gboolean  (*get_local_rtc) (Timedate1 *object);
 
-  const gchar * (*get_timezone) (Timedated *object);
+  gboolean  (*get_ntp) (Timedate1 *object);
+
+  gboolean  (*get_ntpsynchronized) (Timedate1 *object);
+
+  guint64  (*get_rtctime_usec) (Timedate1 *object);
+
+  guint64  (*get_time_usec) (Timedate1 *object);
+
+  const gchar * (*get_timezone) (Timedate1 *object);
 
 };
 
-GType timedated__get_type (void) G_GNUC_CONST;
+GType timedate1_get_type (void) G_GNUC_CONST;
 
-GDBusInterfaceInfo *timedated__interface_info (void);
-guint timedated__override_properties (GObjectClass *klass, guint property_id_begin);
+GDBusInterfaceInfo *timedate1_interface_info (void);
+guint timedate1_override_properties (GObjectClass *klass, guint property_id_begin);
 
 
 /* D-Bus method call completion functions: */
-void timedated__complete_set_time (
-    Timedated *object,
+void timedate1_complete_set_time (
+    Timedate1 *object,
     GDBusMethodInvocation *invocation);
 
-void timedated__complete_set_timezone (
-    Timedated *object,
+void timedate1_complete_set_timezone (
+    Timedate1 *object,
     GDBusMethodInvocation *invocation);
 
-void timedated__complete_set_local_rtc (
-    Timedated *object,
+void timedate1_complete_set_local_rtc (
+    Timedate1 *object,
     GDBusMethodInvocation *invocation);
 
-void timedated__complete_set_ntp (
-    Timedated *object,
+void timedate1_complete_set_ntp (
+    Timedate1 *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 timedate1_call_set_time (
+    Timedate1 *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 timedate1_call_set_time_finish (
+    Timedate1 *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 timedate1_call_set_time_sync (
+    Timedate1 *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 timedate1_call_set_timezone (
+    Timedate1 *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 timedate1_call_set_timezone_finish (
+    Timedate1 *proxy,
     GAsyncResult *res,
     GError **error);
 
-gboolean timedated__call_set_timezone_sync (
-    Timedated *proxy,
-    const gchar *arg_timezone,
-    gboolean arg_user_interaction,
+gboolean timedate1_call_set_timezone_sync (
+    Timedate1 *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 timedate1_call_set_local_rtc (
+    Timedate1 *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 timedate1_call_set_local_rtc_finish (
+    Timedate1 *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 timedate1_call_set_local_rtc_sync (
+    Timedate1 *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 timedate1_call_set_ntp (
+    Timedate1 *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 timedate1_call_set_ntp_finish (
+    Timedate1 *proxy,
     GAsyncResult *res,
     GError **error);
 
-gboolean timedated__call_set_ntp_sync (
-    Timedated *proxy,
-    gboolean arg_use_ntp,
-    gboolean arg_user_interaction,
+gboolean timedate1_call_set_ntp_sync (
+    Timedate1 *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 *timedate1_get_timezone (Timedate1 *object);
+gchar *timedate1_dup_timezone (Timedate1 *object);
+void timedate1_set_timezone (Timedate1 *object, const gchar *value);
+
+gboolean timedate1_get_local_rtc (Timedate1 *object);
+void timedate1_set_local_rtc (Timedate1 *object, gboolean value);
+
+gboolean timedate1_get_can_ntp (Timedate1 *object);
+void timedate1_set_can_ntp (Timedate1 *object, gboolean value);
+
+gboolean timedate1_get_ntp (Timedate1 *object);
+void timedate1_set_ntp (Timedate1 *object, gboolean value);
+
+gboolean timedate1_get_ntpsynchronized (Timedate1 *object);
+void timedate1_set_ntpsynchronized (Timedate1 *object, gboolean value);
 
-gboolean timedated__get_local_rtc (Timedated *object);
-void timedated__set_local_rtc (Timedated *object, gboolean value);
+guint64 timedate1_get_time_usec (Timedate1 *object);
+void timedate1_set_time_usec (Timedate1 *object, guint64 value);
 
-gboolean timedated__get_ntp (Timedated *object);
-void timedated__set_ntp (Timedated *object, gboolean value);
+guint64 timedate1_get_rtctime_usec (Timedate1 *object);
+void timedate1_set_rtctime_usec (Timedate1 *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 TYPE_TIMEDATE1_PROXY (timedate1_proxy_get_type ())
+#define TIMEDATE1_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_TIMEDATE1_PROXY, Timedate1Proxy))
+#define TIMEDATE1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_TIMEDATE1_PROXY, Timedate1ProxyClass))
+#define TIMEDATE1_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_TIMEDATE1_PROXY, Timedate1ProxyClass))
+#define IS_TIMEDATE1_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_TIMEDATE1_PROXY))
+#define IS_TIMEDATE1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_TIMEDATE1_PROXY))
 
-typedef struct _TimedatedProxy TimedatedProxy;
-typedef struct _TimedatedProxyClass TimedatedProxyClass;
-typedef struct _TimedatedProxyPrivate TimedatedProxyPrivate;
+typedef struct _Timedate1Proxy Timedate1Proxy;
+typedef struct _Timedate1ProxyClass Timedate1ProxyClass;
+typedef struct _Timedate1ProxyPrivate Timedate1ProxyPrivate;
 
-struct _TimedatedProxy
+struct _Timedate1Proxy
 {
   /*< private >*/
   GDBusProxy parent_instance;
-  TimedatedProxyPrivate *priv;
+  Timedate1ProxyPrivate *priv;
 };
 
-struct _TimedatedProxyClass
+struct _Timedate1ProxyClass
 {
   GDBusProxyClass parent_class;
 };
 
-GType timedated__proxy_get_type (void) G_GNUC_CONST;
+GType timedate1_proxy_get_type (void) G_GNUC_CONST;
 
-void timedated__proxy_new (
+void 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 (
+Timedate1 *timedate1_proxy_new_finish (
     GAsyncResult        *res,
     GError             **error);
-Timedated *timedated__proxy_new_sync (
+Timedate1 *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 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 (
+Timedate1 *timedate1_proxy_new_for_bus_finish (
     GAsyncResult        *res,
     GError             **error);
-Timedated *timedated__proxy_new_for_bus_sync (
+Timedate1 *timedate1_proxy_new_for_bus_sync (
     GBusType             bus_type,
     GDBusProxyFlags      flags,
     const gchar         *name,
@@ -255,32 +275,32 @@ 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 TYPE_TIMEDATE1_SKELETON (timedate1_skeleton_get_type ())
+#define TIMEDATE1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_TIMEDATE1_SKELETON, Timedate1Skeleton))
+#define TIMEDATE1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_TIMEDATE1_SKELETON, Timedate1SkeletonClass))
+#define TIMEDATE1_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_TIMEDATE1_SKELETON, Timedate1SkeletonClass))
+#define IS_TIMEDATE1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_TIMEDATE1_SKELETON))
+#define IS_TIMEDATE1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_TIMEDATE1_SKELETON))
 
-typedef struct _TimedatedSkeleton TimedatedSkeleton;
-typedef struct _TimedatedSkeletonClass TimedatedSkeletonClass;
-typedef struct _TimedatedSkeletonPrivate TimedatedSkeletonPrivate;
+typedef struct _Timedate1Skeleton Timedate1Skeleton;
+typedef struct _Timedate1SkeletonClass Timedate1SkeletonClass;
+typedef struct _Timedate1SkeletonPrivate Timedate1SkeletonPrivate;
 
-struct _TimedatedSkeleton
+struct _Timedate1Skeleton
 {
   /*< private >*/
   GDBusInterfaceSkeleton parent_instance;
-  TimedatedSkeletonPrivate *priv;
+  Timedate1SkeletonPrivate *priv;
 };
 
-struct _TimedatedSkeletonClass
+struct _Timedate1SkeletonClass
 {
   GDBusInterfaceSkeletonClass parent_class;
 };
 
-GType timedated__skeleton_get_type (void) G_GNUC_CONST;
+GType timedate1_skeleton_get_type (void) G_GNUC_CONST;
 
-Timedated *timedated__skeleton_new (void);
+Timedate1 *timedate1_skeleton_new (void);
 
 
 G_END_DECLS