diff options
| author | Eugen Wissner <belka@caraus.de> | 2024-06-29 16:01:57 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2024-06-29 16:01:57 +0200 |
| commit | 8bf3a92cbc3aea9ae47177d877420f966bc9acf5 (patch) | |
| tree | 5f8c0963480e11d3d21156d418f35a1c70b83b00 /src/timedate.h | |
| parent | d75053b2439ab30d45aaa55365e7586498cd3299 (diff) | |
| download | slack-timedate-8bf3a92cbc3aea9ae47177d877420f966bc9acf5.tar.gz | |
Implement SetLocalRTC
Diffstat (limited to 'src/timedate.h')
| -rw-r--r-- | src/timedate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/timedate.h b/src/timedate.h index 1c33594..a1b2852 100644 --- a/src/timedate.h +++ b/src/timedate.h @@ -65,6 +65,9 @@ namespace dlackware::timedate // Throws std::system_error. void set_time(std::int64_t seconds_since_epoch, bool relative, bool user_interaction); + // Controls whether the RTC is local time or UTC. + void set_local_rtc(bool local_rtc, bool fix_system, bool user_interaction); + class timedate1 { const Gio::DBus::InterfaceVTable interface_vtable; |
