diff options
| author | Eugen Wissner <belka@caraus.de> | 2024-06-21 16:07:28 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2024-06-21 16:07:28 +0200 |
| commit | cbbefae2849b9f7df8d4e41f1e535d5419799a82 (patch) | |
| tree | f65ba846cabd80403654b685a484b643d2236339 /src/timedate.h | |
| parent | 6fc7f86a89dbcbe1e36ade37c61d4a974be81596 (diff) | |
| download | slack-timedate-cbbefae2849b9f7df8d4e41f1e535d5419799a82.tar.gz | |
Add the NTPSynchronized property
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 40f149a..2b2d1a2 100644 --- a/src/timedate.h +++ b/src/timedate.h @@ -40,6 +40,9 @@ namespace dlackware::timedate // Returns whether NTP is available. bool can_ntp(); + // Shows whether the kernel reports the time as synchronized. + bool ntp_synchronized(); + // Returns the timezones available on the system. std::vector<Glib::ustring> list_timezones(); |
