diff options
author | Robert Tari <robert@tari.in> | 2021-08-31 21:16:06 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-08-31 21:25:26 +0200 |
commit | 8ca77cf41948373987dc93446ede7afd50103cae (patch) | |
tree | 9f9f90b761bc9acbd520b092d29b61c89ac23c60 /src/main.cpp | |
parent | 9d95a062904cf8f421680d844ea656316c3c9a74 (diff) | |
download | ayatana-indicator-datetime-8ca77cf41948373987dc93446ede7afd50103cae.tar.gz ayatana-indicator-datetime-8ca77cf41948373987dc93446ede7afd50103cae.tar.bz2 ayatana-indicator-datetime-8ca77cf41948373987dc93446ede7afd50103cae.zip |
Fix build failure on Ubuntu 20.04
- include/notifications/sound.h: Add SoundBuilder class
- src/snap.cpp: Add m_sound_builder variable
- src/main.cpp: Fix uin -> ain typo
- CMakeLists.txt: Add uuid dependency
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 6cad190..255b62c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -151,7 +151,7 @@ main(int /*argc*/, char** /*argv*/) // set up the snap decisions auto snooze_planner = std::make_shared<SnoozePlanner>(state->settings, state->clock); auto notification_engine = std::make_shared<ain::Engine>("ayatana-indicator-datetime-service"); - auto sound_builder = std::make_shared<uin::DefaultSoundBuilder>(); + auto sound_builder = std::make_shared<ain::DefaultSoundBuilder>(); std::unique_ptr<Snap> snap (new Snap(notification_engine, sound_builder, state->settings, system_bus)); auto alarm_queue = create_simple_alarm_queue(state->clock, snooze_planner, engine, timezone_); auto on_response = [snooze_planner, actions](const Appointment& appointment, const Alarm& alarm, const Snap::Response& response) { |