diff options
author | saturneric <[email protected]> | 2024-04-14 12:56:18 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-04-14 12:56:18 +0000 |
commit | cb2672ca430c54244df7bd46ef97256c3d840cbf (patch) | |
tree | a54bb28d61cf9dbf608261782c4f3febec72ea8c /src/core/module/ModuleManager.cpp | |
parent | fix: use qt designer placeholder instead of custom initialized (diff) | |
download | GpgFrontend-cb2672ca430c54244df7bd46ef97256c3d840cbf.tar.gz GpgFrontend-cb2672ca430c54244df7bd46ef97256c3d840cbf.zip |
feat: add a grt viewer and solve some issues in gnupg info tab
Diffstat (limited to 'src/core/module/ModuleManager.cpp')
-rw-r--r-- | src/core/module/ModuleManager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/module/ModuleManager.cpp b/src/core/module/ModuleManager.cpp index 6da48eec..e00c8c8c 100644 --- a/src/core/module/ModuleManager.cpp +++ b/src/core/module/ModuleManager.cpp @@ -196,6 +196,8 @@ class ModuleManager::Impl { return gmc_->IsModuleActivated(id); } + auto GRT() -> GlobalRegisterTable* { return grt_.get(); } + private: static ModuleMangerPtr global_module_manager; SecureUniquePtr<GlobalModuleContext> gmc_; @@ -299,4 +301,7 @@ auto ModuleManager::IsModuleActivated(ModuleIdentifier id) -> bool { auto ModuleManager::ListAllRegisteredModuleID() -> QList<ModuleIdentifier> { return p_->ListAllRegisteredModuleID(); }; + +auto ModuleManager::GRT() -> GlobalRegisterTable* { return p_->GRT(); } + } // namespace GpgFrontend::Module
\ No newline at end of file |