* 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>
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);
};
/* 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);
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);
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);
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);
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);
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);
+
/* ---- */
G_END_DECLS
-#endif /* __SRC_INTERFACES_TIMEDATED_TIMEDATED_GEN_H__ */
+#endif /* __TIMEDATED_GEN_H__ */