diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-26 15:16:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-26 15:16:36 +0100 |
| commit | 5ba33f846129f3e6c0505b19f94634b24505e828 (patch) | |
| tree | aaacabe678006040c342935481a86607c66607fd /src/plugins/PluginSystem.hpp | |
| parent | 329b2b356dd92ac07f4e2aa69cbce82ee9ba9d19 (diff) | |
config/lua: init lua config manager, use lua if available (#13817)
Adds a new lua config manager, which will automatically be used if there is a lua config present.
Diffstat (limited to 'src/plugins/PluginSystem.hpp')
| -rw-r--r-- | src/plugins/PluginSystem.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/PluginSystem.hpp b/src/plugins/PluginSystem.hpp index 85afaefa..4921f0d6 100644 --- a/src/plugins/PluginSystem.hpp +++ b/src/plugins/PluginSystem.hpp @@ -3,6 +3,7 @@ #include "../defines.hpp" #include "../helpers/defer/Promise.hpp" #include "../helpers/time/Timer.hpp" +#include "../config/values/types/IValue.hpp" #include "PluginAPI.hpp" #include "../managers/permissions/DynamicPermissionManager.hpp" #include <csetjmp> @@ -25,9 +26,10 @@ class CPlugin { std::vector<IHyprWindowDecoration*> m_registeredDecorations; //std::vector<std::pair<std::string, WP<HOOK_CALLBACK_FN>>> m_registeredCallbacks; - std::vector<std::string> m_registeredDispatchers; - std::vector<WP<SHyprCtlCommand>> m_registeredHyprctlCommands; - std::vector<std::string> m_registeredAlgos; + std::vector<std::string> m_registeredDispatchers; + std::vector<WP<SHyprCtlCommand>> m_registeredHyprctlCommands; + std::vector<std::string> m_registeredAlgos; + std::vector<WP<Config::Values::IValue>> m_registeredApiValues; }; class CPluginSystem { |
