diff options
| author | Eugen Wissner <belka@caraus.de> | 2024-06-19 12:11:56 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2024-06-19 12:11:56 +0200 |
| commit | 6fc7f86a89dbcbe1e36ade37c61d4a974be81596 (patch) | |
| tree | 369c812aca2144dcb13201199a4cc05d1a868d64 /src/timedate.h | |
| parent | 9dc8fb26405938834b13971c3188f4f52bb8b90d (diff) | |
| download | slack-timedate-6fc7f86a89dbcbe1e36ade37c61d4a974be81596.tar.gz | |
Implement CanNTP property
Diffstat (limited to 'src/timedate.h')
| -rw-r--r-- | src/timedate.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/timedate.h b/src/timedate.h index 49883f9..40f149a 100644 --- a/src/timedate.h +++ b/src/timedate.h @@ -34,9 +34,12 @@ namespace dlackware::timedate // Returns if the hardware clock is set to local time or not bool local_rtc(); - // Returns if NTP is enabled + // Returns whether NTP is enabled. bool ntp(); + // Returns whether NTP is available. + bool can_ntp(); + // Returns the timezones available on the system. std::vector<Glib::ustring> list_timezones(); |
