refactor makefile with env variables
[systembsd.git] / src / interfaces / timedated / timedated-gen.h
index ea5fe7dd553f607002ee414624480f97232240a5..515c8191dffeb1bd35699d0d5133b276741898f2 100644 (file)
@@ -4,8 +4,8 @@
  * The license of this code is the same as for the source it was derived from.
  */
 
-#ifndef __SRC_INTERFACES_TIMEDATED_TIMEDATED_GEN_H__
-#define __SRC_INTERFACES_TIMEDATED_TIMEDATED_GEN_H__
+#ifndef __TIMEDATED_GEN_H__
+#define __TIMEDATED_GEN_H__
 
 #include <gio/gio.h>
 
@@ -32,33 +32,41 @@ struct _Timedate1Iface
   gboolean (*handle_set_local_rtc) (
     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) (
     Timedate1 *object,
     GDBusMethodInvocation *invocation,
-    gboolean arg_use_ntp,
-    gboolean arg_user_interaction);
+    gboolean arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1);
 
   gboolean (*handle_set_time) (
     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) (
     Timedate1 *object,
     GDBusMethodInvocation *invocation,
-    const gchar *arg_timezone,
-    gboolean arg_user_interaction);
+    const gchar *arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1);
+
+  gboolean  (*get_can_ntp) (Timedate1 *object);
 
   gboolean  (*get_local_rtc) (Timedate1 *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);
 
 };
@@ -91,9 +99,9 @@ void timedate1_complete_set_ntp (
 /* D-Bus method calls: */
 void timedate1_call_set_time (
     Timedate1 *proxy,
-    gint64 arg_usec_utc,
-    gboolean arg_relative,
-    gboolean arg_user_interaction,
+    gint64 arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
+    gboolean arg_unnamed_arg2,
     GCancellable *cancellable,
     GAsyncReadyCallback callback,
     gpointer user_data);
@@ -105,16 +113,16 @@ gboolean timedate1_call_set_time_finish (
 
 gboolean timedate1_call_set_time_sync (
     Timedate1 *proxy,
-    gint64 arg_usec_utc,
-    gboolean arg_relative,
-    gboolean arg_user_interaction,
+    gint64 arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
+    gboolean arg_unnamed_arg2,
     GCancellable *cancellable,
     GError **error);
 
 void timedate1_call_set_timezone (
     Timedate1 *proxy,
-    const gchar *arg_timezone,
-    gboolean arg_user_interaction,
+    const gchar *arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
     GCancellable *cancellable,
     GAsyncReadyCallback callback,
     gpointer user_data);
@@ -126,16 +134,16 @@ gboolean timedate1_call_set_timezone_finish (
 
 gboolean timedate1_call_set_timezone_sync (
     Timedate1 *proxy,
-    const gchar *arg_timezone,
-    gboolean arg_user_interaction,
+    const gchar *arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
     GCancellable *cancellable,
     GError **error);
 
 void timedate1_call_set_local_rtc (
     Timedate1 *proxy,
-    gboolean arg_local_rtc,
-    gboolean arg_fix_system,
-    gboolean arg_user_interaction,
+    gboolean arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
+    gboolean arg_unnamed_arg2,
     GCancellable *cancellable,
     GAsyncReadyCallback callback,
     gpointer user_data);
@@ -147,16 +155,16 @@ gboolean timedate1_call_set_local_rtc_finish (
 
 gboolean timedate1_call_set_local_rtc_sync (
     Timedate1 *proxy,
-    gboolean arg_local_rtc,
-    gboolean arg_fix_system,
-    gboolean arg_user_interaction,
+    gboolean arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
+    gboolean arg_unnamed_arg2,
     GCancellable *cancellable,
     GError **error);
 
 void timedate1_call_set_ntp (
     Timedate1 *proxy,
-    gboolean arg_use_ntp,
-    gboolean arg_user_interaction,
+    gboolean arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
     GCancellable *cancellable,
     GAsyncReadyCallback callback,
     gpointer user_data);
@@ -168,8 +176,8 @@ gboolean timedate1_call_set_ntp_finish (
 
 gboolean timedate1_call_set_ntp_sync (
     Timedate1 *proxy,
-    gboolean arg_use_ntp,
-    gboolean arg_user_interaction,
+    gboolean arg_unnamed_arg0,
+    gboolean arg_unnamed_arg1,
     GCancellable *cancellable,
     GError **error);
 
@@ -183,9 +191,21 @@ 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);
+
+guint64 timedate1_get_time_usec (Timedate1 *object);
+void timedate1_set_time_usec (Timedate1 *object, guint64 value);
+
+guint64 timedate1_get_rtctime_usec (Timedate1 *object);
+void timedate1_set_rtctime_usec (Timedate1 *object, guint64 value);
+
 
 /* ---- */
 
@@ -285,4 +305,4 @@ Timedate1 *timedate1_skeleton_new (void);
 
 G_END_DECLS
 
-#endif /* __SRC_INTERFACES_TIMEDATED_TIMEDATED_GEN_H__ */
+#endif /* __TIMEDATED_GEN_H__ */