diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-12-13 02:32:57 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-12-13 02:33:07 +0000 |
| commit | 4190b967186e50d00ea3dc636e9f3ec40639dd03 (patch) | |
| tree | 97d8b10614992b97879b2d490fe61686d8c2f43a /hyprpm/src/core/PluginManager.hpp | |
| parent | d9bc210285c1971afd9abe9fbe89a5a14c8df2a7 (diff) | |
hyprpm: add duplicate header error and log more verbose in install fails
Diffstat (limited to 'hyprpm/src/core/PluginManager.hpp')
| -rw-r--r-- | hyprpm/src/core/PluginManager.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hyprpm/src/core/PluginManager.hpp b/hyprpm/src/core/PluginManager.hpp index dcf890d6..3c5c7c5c 100644 --- a/hyprpm/src/core/PluginManager.hpp +++ b/hyprpm/src/core/PluginManager.hpp @@ -9,6 +9,7 @@ enum eHeadersErrors { HEADERS_MISSING, HEADERS_CORRUPTED, HEADERS_MISMATCHED, + HEADERS_DUPLICATED }; enum eNotifyIcons { @@ -54,6 +55,9 @@ class CPluginManager { void notify(const eNotifyIcons icon, uint32_t color, int durationMs, const std::string& message); bool m_bVerbose = false; + + private: + std::string headerError(const eHeadersErrors err); }; inline std::unique_ptr<CPluginManager> g_pPluginManager;
\ No newline at end of file |
