aboutsummaryrefslogtreecommitdiff
path: root/include/datetime
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-04-12 12:03:36 -0500
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 14:37:39 +0200
commit3cd2c8e20343ef4b4efe7a34daba72f9af23205d (patch)
tree94a6f801ea67a438f7c23a5b06fbf8c32802f004 /include/datetime
parent32a1c8a2ff80533b7c5902b869fb4b889ded5736 (diff)
downloadayatana-indicator-datetime-3cd2c8e20343ef4b4efe7a34daba72f9af23205d.tar.gz
ayatana-indicator-datetime-3cd2c8e20343ef4b4efe7a34daba72f9af23205d.tar.bz2
ayatana-indicator-datetime-3cd2c8e20343ef4b4efe7a34daba72f9af23205d.zip
in TimedatedTimezone, take a GDBusConnection argument in the ctor to simplify state management
Diffstat (limited to 'include/datetime')
-rw-r--r--include/datetime/timezone-timedated.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/datetime/timezone-timedated.h b/include/datetime/timezone-timedated.h
index 0857706..e0af184 100644
--- a/include/datetime/timezone-timedated.h
+++ b/include/datetime/timezone-timedated.h
@@ -22,6 +22,8 @@
#include <datetime/timezone.h> // base class
+#include <gio/gio.h> // GDBusConnection*
+
#include <string> // std::string
namespace ayatana {
@@ -34,7 +36,7 @@ namespace datetime {
class TimedatedTimezone: public Timezone
{
public:
- TimedatedTimezone();
+ TimedatedTimezone(GDBusConnection* connection);
~TimedatedTimezone();
private: