diff options
Diffstat (limited to 'src/timedate.h')
| -rw-r--r-- | src/timedate.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/timedate.h b/src/timedate.h index 82336de..49883f9 100644 --- a/src/timedate.h +++ b/src/timedate.h @@ -20,17 +20,13 @@ #include <dbus/dbus.h> #include <glibmm.h> #include <giomm.h> - -#define BUS_NAME "org.freedesktop.timedate1" +#include "resources.h" namespace dlackware::timedate { constexpr const char *bus_path = "/org/freedesktop/timedate1"; - constexpr const char *zoneinfo_database = "/usr/share/zoneinfo"; - constexpr const char *introspection_xml = "/usr/share/dbus-1/interfaces/org.freedesktop.timedate1.xml"; - - constexpr const gint32 usec_per_sec = 1000000ULL; - constexpr const gint32 nsec_per_usec = 1000ULL; + constexpr const std::string_view bus_name = "org.freedesktop.timedate1"; + constexpr const std::string_view zoneinfo_database = "/usr/share/zoneinfo"; // Returns the system time zone. Glib::ustring timezone(); |
