diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-09-05 12:48:04 -0400 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-09-05 12:51:29 -0400 |
commit | 37d9aeb4da8169c85ef5e96eefd4b0da30dcb83a (patch) | |
tree | 599a53efb3e135b802ca14b88b235cdb89da321d /data | |
parent | Cleanup to make valgrind happy (diff) | |
download | openrc-settingsd-37d9aeb4da8169c85ef5e96eefd4b0da30dcb83a.tar.gz openrc-settingsd-37d9aeb4da8169c85ef5e96eefd4b0da30dcb83a.tar.bz2 openrc-settingsd-37d9aeb4da8169c85ef5e96eefd4b0da30dcb83a.zip |
Add timedated implementation
Includes a chunk of copy-pasted code from systemd for dealing with RTC.
Should probably be replaced with something more glib-ish eventually.
Diffstat (limited to 'data')
-rw-r--r-- | data/timedate1.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/data/timedate1.xml b/data/timedate1.xml new file mode 100644 index 0000000..18aa6d6 --- /dev/null +++ b/data/timedate1.xml @@ -0,0 +1,26 @@ +<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> +<node name="/org/freedesktop/timedate1"> + <interface name="org.freedesktop.timedate1"> + <method name="SetTime"> + <arg direction="in" type="x" name="usec_utc"/> + <arg direction="in" type="b" name="relative"/> + <arg direction="in" type="b" name="user_interaction"/> + </method> + <method name="SetTimezone"> + <arg direction="in" type="s" name="timezone"/> + <arg direction="in" type="b" name="user_interaction"/> + </method> + <method name="SetLocalRTC"> + <arg direction="in" type="b" name="local_rtc"/> + <arg direction="in" type="b" name="fix_system"/> + <arg direction="in" type="b" name="user_interaction"/> + </method> + <method name="SetNTP"> + <arg direction="in" type="b" name="use_ntp"/> + <arg direction="in" type="b" name="user_interaction"/> + </method> + <property name="Timezone" type="s" access="read"/> + <property name="LocalRTC" type="b" access="read"/> + <property name="NTP" type="b" access="read"/> + </interface> +</node> |