aboutsummaryrefslogtreecommitdiff
path: root/include/datetime
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-10-06 12:08:29 -0500
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 14:37:39 +0200
commit6863282c60b01752ecd53ea329a74940ee8380e4 (patch)
tree233d9edaf938fcef49368995147ce738b1c141f7 /include/datetime
parentfd6d89d244509981c6b57d5fe87c84078204bde0 (diff)
downloadayatana-indicator-datetime-6863282c60b01752ecd53ea329a74940ee8380e4.tar.gz
ayatana-indicator-datetime-6863282c60b01752ecd53ea329a74940ee8380e4.tar.bz2
ayatana-indicator-datetime-6863282c60b01752ecd53ea329a74940ee8380e4.zip
in Snap, add a constructor arg for the system bus because we need it when instantiating Awake objects
Diffstat (limited to 'include/datetime')
-rw-r--r--include/datetime/snap.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/datetime/snap.h b/include/datetime/snap.h
index 099426b..baa765b 100644
--- a/include/datetime/snap.h
+++ b/include/datetime/snap.h
@@ -24,6 +24,9 @@
#include <datetime/settings.h>
#include <notifications/notifications.h>
+#include <notifications/sound.h>
+
+#include <gio/gio.h> // GDBusConnection
#include <functional>
#include <memory>
@@ -39,7 +42,9 @@ class Snap
{
public:
Snap(const std::shared_ptr<ayatana::indicator::notifications::Engine>& engine,
- const std::shared_ptr<const Settings>& settings);
+ const std::shared_ptr<ayatana::indicator::notifications::SoundBuilder>& sound_builder,
+ const std::shared_ptr<const Settings>& settings,
+ GDBusConnection* system_bus);
virtual ~Snap();
enum class Response { None, Snooze, ShowApp };