diff options
author | saturneric <[email protected]> | 2024-07-31 06:13:26 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-31 06:13:26 +0000 |
commit | 081147d65fcb0a20818bbfb43f6ec4f5ddf59581 (patch) | |
tree | f6ec05666acb98da46b4cb0dfc0871225f4ad388 /src/core/module/ModuleManager.h | |
parent | fix: dealing with unknown compiler (diff) | |
download | GpgFrontend-081147d65fcb0a20818bbfb43f6ec4f5ddf59581.tar.gz GpgFrontend-081147d65fcb0a20818bbfb43f6ec4f5ddf59581.zip |
fix: addressing some of the significant deficiencies identified
Diffstat (limited to 'src/core/module/ModuleManager.h')
-rw-r--r-- | src/core/module/ModuleManager.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/core/module/ModuleManager.h b/src/core/module/ModuleManager.h index 365dd8fd..5c703bf3 100644 --- a/src/core/module/ModuleManager.h +++ b/src/core/module/ModuleManager.h @@ -65,14 +65,18 @@ class GPGFRONTEND_CORE_EXPORT ModuleManager virtual ~ModuleManager() override; - auto LoadModule(QString, bool) -> void; + auto LoadModule(QString, bool) -> bool; auto SearchModule(ModuleIdentifier) -> ModulePtr; + void SetNeedRegisterModulesNum(int); + auto ListAllRegisteredModuleID() -> QList<ModuleIdentifier>; void RegisterModule(ModulePtr); + auto IsAllModulesRegistered() -> bool; + auto IsModuleActivated(ModuleIdentifier) -> bool; auto IsIntegratedModule(ModuleIdentifier) -> bool; @@ -139,6 +143,14 @@ auto GPGFRONTEND_CORE_EXPORT IsModuleActivate(ModuleIdentifier) -> bool; /** * @brief * + * @return true + * @return false + */ +auto GPGFRONTEND_CORE_EXPORT IsModuleExists(ModuleIdentifier) -> bool; + +/** + * @brief + * * @param namespace_ * @param key * @param value |