diff options
author | Robert Tari <robert@tari.in> | 2021-11-26 09:05:18 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-12-03 12:26:17 +0100 |
commit | 5544dd0e3ad817cbe8f433068ee4da32319b10cb (patch) | |
tree | 47a9535ec4896aae843035f2d7cd1d9fcdfc8b76 /src/main.cpp | |
parent | 87bbf6da491fbbaa5b0d4babe3d3ceb270820695 (diff) | |
download | ayatana-indicator-datetime-5544dd0e3ad817cbe8f433068ee4da32319b10cb.tar.gz ayatana-indicator-datetime-5544dd0e3ad817cbe8f433068ee4da32319b10cb.tar.bz2 ayatana-indicator-datetime-5544dd0e3ad817cbe8f433068ee4da32319b10cb.zip |
Make Lomiri features configurable at build time
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 0dc7198..4590e84 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -32,7 +32,7 @@ #include <datetime/planner-snooze.h> #include <datetime/planner-range.h> #include <datetime/settings-live.h> -#ifdef HAS_LOMIRI_SCHEMAS +#ifdef LOMIRI_FEATURES_ENABLED #include <datetime/snap.h> #endif #include <datetime/state.h> @@ -95,7 +95,7 @@ namespace return state; } -#ifdef HAS_LOMIRI_SCHEMAS +#ifdef LOMIRI_FEATURES_ENABLED std::shared_ptr<AlarmQueue> create_simple_alarm_queue(const std::shared_ptr<Clock>& clock, const std::shared_ptr<Planner>& snooze_planner, const std::shared_ptr<Engine>& engine, @@ -149,7 +149,7 @@ main(int /*argc*/, char** /*argv*/) auto actions = std::make_shared<LiveActions>(state); MenuFactory factory(actions, state); -#ifdef HAS_LOMIRI_SCHEMAS +#ifdef LOMIRI_FEATURES_ENABLED // 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"); |