aboutsummaryrefslogtreecommitdiff
path: root/include/datetime
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-10-06 12:08:29 -0500
committerRobert Tari <robert@tari.in>2021-07-08 03:44:56 +0200
commit34f44f959b63d64f0eec2f16e322796a5bea7c3a (patch)
treeb758a96f000ac136f942757498a24458ffea3b45 /include/datetime
parent14870108857877b8015bd0f12e2daae4085fa39f (diff)
downloadayatana-indicator-datetime-34f44f959b63d64f0eec2f16e322796a5bea7c3a.tar.gz
ayatana-indicator-datetime-34f44f959b63d64f0eec2f16e322796a5bea7c3a.tar.bz2
ayatana-indicator-datetime-34f44f959b63d64f0eec2f16e322796a5bea7c3a.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 };