diff options
Diffstat (limited to 'src/plugins/PluginSystem.hpp')
| -rw-r--r-- | src/plugins/PluginSystem.hpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/plugins/PluginSystem.hpp b/src/plugins/PluginSystem.hpp index ba1dafc0..bbde2740 100644 --- a/src/plugins/PluginSystem.hpp +++ b/src/plugins/PluginSystem.hpp @@ -10,22 +10,22 @@ class IHyprWindowDecoration; class CPlugin { public: - std::string name = ""; - std::string description = ""; - std::string author = ""; - std::string version = ""; + std::string m_name = ""; + std::string m_description = ""; + std::string m_author = ""; + std::string m_version = ""; - std::string path = ""; + std::string m_path = ""; - bool m_bLoadedWithConfig = false; + bool m_loadedWithConfig = false; - HANDLE m_pHandle = nullptr; + HANDLE m_handle = nullptr; - std::vector<IHyprLayout*> registeredLayouts; - std::vector<IHyprWindowDecoration*> registeredDecorations; - std::vector<std::pair<std::string, WP<HOOK_CALLBACK_FN>>> registeredCallbacks; - std::vector<std::string> registeredDispatchers; - std::vector<SP<SHyprCtlCommand>> registeredHyprctlCommands; + std::vector<IHyprLayout*> m_registeredLayouts; + 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<SP<SHyprCtlCommand>> m_registeredHyprctlCommands; }; class CPluginSystem { @@ -42,12 +42,12 @@ class CPluginSystem { size_t pluginCount(); void sigGetPlugins(CPlugin** data, size_t len); - bool m_bAllowConfigVars = false; + bool m_allowConfigVars = false; private: - std::vector<UP<CPlugin>> m_vLoadedPlugins; + std::vector<UP<CPlugin>> m_loadedPlugins; - jmp_buf m_jbPluginFaultJumpBuf; + jmp_buf m_pluginFaultJumpBuf; std::expected<CPlugin*, std::string> loadPluginInternal(const std::string& path); }; |
