From 6eb187a23ec2be46f0d5bd26c1deacc99578fc57 Mon Sep 17 00:00:00 2001 From: Erik Reider <35975961+ErikReider@users.noreply.github.com> Date: Tue, 15 Mar 2022 23:00:09 +0100 Subject: [PATCH] Moved upower.*pp out of the upower directories --- include/factory.hpp | 2 +- include/modules/{upower => }/upower.hpp | 0 meson.build | 2 +- src/modules/{upower => }/upower.cpp | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename include/modules/{upower => }/upower.hpp (100%) rename src/modules/{upower => }/upower.cpp (99%) diff --git a/include/factory.hpp b/include/factory.hpp index 3954dac..e4e8fa7 100644 --- a/include/factory.hpp +++ b/include/factory.hpp @@ -43,7 +43,7 @@ #include "modules/keyboard_state.hpp" #endif #ifdef HAVE_UPOWER -#include "modules/upower/upower.hpp" +#include "modules/upower.hpp" #endif #ifdef HAVE_LIBPULSE #include "modules/pulseaudio.hpp" diff --git a/include/modules/upower/upower.hpp b/include/modules/upower.hpp similarity index 100% rename from include/modules/upower/upower.hpp rename to include/modules/upower.hpp diff --git a/meson.build b/meson.build index 5e76181..3155137 100644 --- a/meson.build +++ b/meson.build @@ -206,7 +206,7 @@ endif if (upower_glib.found() and giounix.found() and not get_option('logind').disabled()) add_project_arguments('-DHAVE_UPOWER', language: 'cpp') - src_files += 'src/modules/upower/upower.cpp' + src_files += 'src/modules/upower.cpp' endif if libpulse.found() diff --git a/src/modules/upower/upower.cpp b/src/modules/upower.cpp similarity index 99% rename from src/modules/upower/upower.cpp rename to src/modules/upower.cpp index 153f2b6..abcfa94 100644 --- a/src/modules/upower/upower.cpp +++ b/src/modules/upower.cpp @@ -1,4 +1,4 @@ -#include "modules/upower/upower.hpp" +#include "modules/upower.hpp" #include