From 05ccbb2f2dc3121a48e9c1925357039b27d22a92 Mon Sep 17 00:00:00 2001 From: Luke Barkess <57995669+Brumus14@users.noreply.github.com> Date: Sun, 14 Dec 2025 17:16:58 +0000 Subject: hyprpm: added plugin author (#12594) --- hyprpm/src/core/PluginManager.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'hyprpm/src/core/PluginManager.hpp') diff --git a/hyprpm/src/core/PluginManager.hpp b/hyprpm/src/core/PluginManager.hpp index 2425f5ec..10a71469 100644 --- a/hyprpm/src/core/PluginManager.hpp +++ b/hyprpm/src/core/PluginManager.hpp @@ -2,8 +2,10 @@ #include #include +#include #include #include +#include "Plugin.hpp" enum eHeadersErrors { HEADERS_OK = 0, @@ -46,7 +48,7 @@ class CPluginManager { CPluginManager(); bool addNewPluginRepo(const std::string& url, const std::string& rev); - bool removePluginRepo(const std::string& urlOrName); + bool removePluginRepo(const SPluginRepoIdentifier identifier); eHeadersErrors headersValid(); bool updateHeaders(bool force = false); @@ -54,8 +56,8 @@ class CPluginManager { void listAllPlugins(); - bool enablePlugin(const std::string& name); - bool disablePlugin(const std::string& name); + bool enablePlugin(const SPluginRepoIdentifier identifier); + bool disablePlugin(const SPluginRepoIdentifier identifier); ePluginLoadStateReturn ensurePluginsLoadState(bool forceReload = false); bool loadUnloadPlugin(const std::string& path, bool load); -- cgit v1.2.3