diff options
author | Robert Tari <robert@tari.in> | 2023-10-09 18:41:46 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2023-10-09 18:41:46 +0200 |
commit | 132a445a9eb633d611f18f27f2f8e5742aa537f3 (patch) | |
tree | c3200f154572d243bd137405055f98e31340ebb5 /src/main.cpp | |
parent | abcbf6b7ff2f09fc0351b32e9977db9a1d7a0e1b (diff) | |
download | ayatana-indicator-display-132a445a9eb633d611f18f27f2f8e5742aa537f3.tar.gz ayatana-indicator-display-132a445a9eb633d611f18f27f2f8e5742aa537f3.tar.bz2 ayatana-indicator-display-132a445a9eb633d611f18f27f2f8e5742aa537f3.zip |
Rename indicator class and service source files
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index 03c72c6..49832c6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,6 +1,6 @@ /* * Copyright 2014 Canonical Ltd. - * Copyright 2022 Robert Tari + * Copyright 2022-2023 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -20,7 +20,7 @@ */ #include <src/exporter.h> -#include <src/rotation-lock.h> +#include <src/service.h> #ifdef LOMIRI_FEATURES_ENABLED #include <src/greeter.h> @@ -57,11 +57,9 @@ main(int /*argc*/, char** /*argv*/) g_main_loop_quit(loop); }; - // build all our indicators. - // Right now we've only got one -- rotation lock -- but hey, we can dream. std::vector<std::shared_ptr<Indicator>> indicators; std::vector<std::shared_ptr<Exporter>> exporters; - indicators.push_back(std::make_shared<RotationLockIndicator>()); + indicators.push_back(std::make_shared<DisplayIndicator>()); for (auto& indicator : indicators) { auto exporter = std::make_shared<Exporter>(indicator); exporter->name_lost().connect(on_name_lost); |