diff options
Diffstat (limited to 'include/datetime/timezone-timedated.h')
-rw-r--r-- | include/datetime/timezone-timedated.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/datetime/timezone-timedated.h b/include/datetime/timezone-timedated.h index 336a148..e0af184 100644 --- a/include/datetime/timezone-timedated.h +++ b/include/datetime/timezone-timedated.h @@ -20,10 +20,10 @@ #ifndef INDICATOR_DATETIME_TIMEDATED_TIMEZONE_H #define INDICATOR_DATETIME_TIMEDATED_TIMEZONE_H -#define DEFAULT_FILENAME "/etc/timezone" - #include <datetime/timezone.h> // base class +#include <gio/gio.h> // GDBusConnection* + #include <string> // std::string namespace ayatana { @@ -31,12 +31,12 @@ namespace indicator { namespace datetime { /** - * \brief A #Timezone that gets its information from monitoring a file, such as /etc/timezone + * \brief A #Timezone that gets its information from org.freedesktop.timedate1 */ class TimedatedTimezone: public Timezone { public: - TimedatedTimezone(std::string filename = DEFAULT_FILENAME); + TimedatedTimezone(GDBusConnection* connection); ~TimedatedTimezone(); private: |