From 29a2ee17448201f882af44ef44a4c39161a17e8e Mon Sep 17 00:00:00 2001 From: Robinhuett <5955614+Robinhuett@users.noreply.github.com> Date: Tue, 8 Jan 2019 21:05:44 +0100 Subject: [PATCH] refactor: Replace all occurencec of gtkmm.h and only use the necessary headers --- include/ALabel.hpp | 3 +++ include/IModule.hpp | 4 +++- include/bar.hpp | 5 ++++- include/modules/sni/host.hpp | 3 ++- include/modules/sni/item.hpp | 6 +++++- include/modules/sni/watcher.hpp | 3 ++- include/modules/sway/workspaces.hpp | 1 + include/util/chrono.hpp | 1 - include/util/command.hpp | 1 + 9 files changed, 21 insertions(+), 6 deletions(-) diff --git a/include/ALabel.hpp b/include/ALabel.hpp index 139bef5..17b3ebd 100644 --- a/include/ALabel.hpp +++ b/include/ALabel.hpp @@ -2,6 +2,9 @@ #include #include "IModule.hpp" +#include +#include +#include namespace waybar { diff --git a/include/IModule.hpp b/include/IModule.hpp index 4b3aafe..e278a1d 100644 --- a/include/IModule.hpp +++ b/include/IModule.hpp @@ -1,6 +1,8 @@ #pragma once -#include +#include +#include +#include namespace waybar { diff --git a/include/bar.hpp b/include/bar.hpp index a948eac..e7d9c6d 100644 --- a/include/bar.hpp +++ b/include/bar.hpp @@ -1,7 +1,10 @@ #pragma once #include -#include +#include +#include +#include +#include #include "wlr-layer-shell-unstable-v1-client-protocol.h" #include "xdg-output-unstable-v1-client-protocol.h" #include "IModule.hpp" diff --git a/include/modules/sni/host.hpp b/include/modules/sni/host.hpp index 6c6618e..232d48c 100644 --- a/include/modules/sni/host.hpp +++ b/include/modules/sni/host.hpp @@ -1,6 +1,7 @@ #pragma once -#include +#include +#include #include #include #include diff --git a/include/modules/sni/item.hpp b/include/modules/sni/item.hpp index 447647c..fee53b5 100644 --- a/include/modules/sni/item.hpp +++ b/include/modules/sni/item.hpp @@ -1,7 +1,11 @@ #pragma once #include -#include +#include +#include +#include +#include +#include #include #include #ifdef FILESYSTEM_EXPERIMENTAL diff --git a/include/modules/sni/watcher.hpp b/include/modules/sni/watcher.hpp index 79f5cbf..3ae41d9 100644 --- a/include/modules/sni/watcher.hpp +++ b/include/modules/sni/watcher.hpp @@ -1,6 +1,7 @@ #pragma once -#include +#include +#include #include namespace waybar::modules::SNI { diff --git a/include/modules/sway/workspaces.hpp b/include/modules/sway/workspaces.hpp index c00ea7d..25cf867 100644 --- a/include/modules/sway/workspaces.hpp +++ b/include/modules/sway/workspaces.hpp @@ -7,6 +7,7 @@ #include "util/json.hpp" #include "IModule.hpp" #include "modules/sway/ipc/client.hpp" +#include namespace waybar::modules::sway { diff --git a/include/util/chrono.hpp b/include/util/chrono.hpp index f2940ab..c06373e 100644 --- a/include/util/chrono.hpp +++ b/include/util/chrono.hpp @@ -5,7 +5,6 @@ #include #include #include -#include namespace waybar::chrono { diff --git a/include/util/command.hpp b/include/util/command.hpp index 5d3692e..fd37e51 100644 --- a/include/util/command.hpp +++ b/include/util/command.hpp @@ -1,6 +1,7 @@ #pragma once #include +#include namespace waybar::util::command {