aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-04-24 11:04:55 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-04-24 11:04:55 -0500
commitcff541acfef717aae4c9b696627b4817e7eac851 (patch)
tree52dae8e92864e64c2959546c316be74bcd3dad9d /src/main.cpp
parent4008e0a91ebdc1cf5c5715a122fed318124c8802 (diff)
downloadayatana-indicator-datetime-cff541acfef717aae4c9b696627b4817e7eac851.tar.gz
ayatana-indicator-datetime-cff541acfef717aae4c9b696627b4817e7eac851.tar.bz2
ayatana-indicator-datetime-cff541acfef717aae4c9b696627b4817e7eac851.zip
rename 'clock-watcher' as 'alarm-queue' because the former name isn't very informative.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c7b35e5..238bd02 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -18,8 +18,8 @@
*/
#include <datetime/actions-live.h>
+#include <datetime/alarm-queue.h>
#include <datetime/clock.h>
-#include <datetime/clock-watcher.h>
#include <datetime/engine-mock.h>
#include <datetime/engine-eds.h>
#include <datetime/exporter.h>
@@ -80,9 +80,9 @@ main(int /*argc*/, char** /*argv*/)
// snap decisions
std::shared_ptr<UpcomingPlanner> upcoming_planner(new UpcomingPlanner(std::shared_ptr<RangePlanner>(new SimpleRangePlanner(engine, file_timezone)), now));
- ClockWatcherImpl clock_watcher(live_clock, upcoming_planner);
+ AlarmQueueImpl alarm_queue(live_clock, upcoming_planner);
Snap snap;
- clock_watcher.alarm_reached().connect([&snap](const Appointment& appt){
+ alarm_queue.alarm_reached().connect([&snap](const Appointment& appt){
auto snap_show = [](const Appointment& a){
const char* url;
if(!a.url.empty())