From 2cf18fbf9384bcb0fbbe23530c3157a407ba046d Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Tue, 7 Feb 2023 21:57:07 +0100 Subject: [PATCH] Clean up includes in PluginController.{c,h}pp --- src/controllers/plugins/PluginController.cpp | 5 ----- src/controllers/plugins/PluginController.hpp | 3 ++- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/controllers/plugins/PluginController.cpp b/src/controllers/plugins/PluginController.cpp index 49cb26bfa..cbe9aff79 100644 --- a/src/controllers/plugins/PluginController.cpp +++ b/src/controllers/plugins/PluginController.cpp @@ -7,13 +7,8 @@ # include "controllers/plugins/LuaApi.hpp" # include "controllers/plugins/LuaUtilities.hpp" # include "messages/MessageBuilder.hpp" -# include "providers/twitch/TwitchIrcServer.hpp" # include "singletons/Paths.hpp" # include "singletons/Settings.hpp" -# include "singletons/WindowManager.hpp" -# include "widgets/Notebook.hpp" -# include "widgets/splits/Split.hpp" -# include "widgets/Window.hpp" // lua stuff # include "lauxlib.h" diff --git a/src/controllers/plugins/PluginController.hpp b/src/controllers/plugins/PluginController.hpp index e87e1e6d9..81ca8f837 100644 --- a/src/controllers/plugins/PluginController.hpp +++ b/src/controllers/plugins/PluginController.hpp @@ -4,7 +4,6 @@ # include "common/Singleton.hpp" # include "controllers/plugins/Plugin.hpp" -# include "singletons/Paths.hpp" # include # include @@ -22,6 +21,8 @@ struct lua_State; namespace chatterino { +class Paths; + class PluginController : public Singleton { public: