diff options
author | saturneric <[email protected]> | 2024-04-30 14:07:33 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-04-30 14:07:33 +0000 |
commit | 3d2ab7c349b02740511f0f2113fd80f7f44c8333 (patch) | |
tree | 79bff8150da71308a530ba34a8615ba2b1f050c4 /src/core/module/GlobalModuleContext.h | |
parent | feat: place mods at linux install process (diff) | |
download | GpgFrontend-3d2ab7c349b02740511f0f2113fd80f7f44c8333.tar.gz GpgFrontend-3d2ab7c349b02740511f0f2113fd80f7f44c8333.zip |
feat: improve functions and ui on module
Diffstat (limited to 'src/core/module/GlobalModuleContext.h')
-rw-r--r-- | src/core/module/GlobalModuleContext.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/module/GlobalModuleContext.h b/src/core/module/GlobalModuleContext.h index ae4300af..3177f984 100644 --- a/src/core/module/GlobalModuleContext.h +++ b/src/core/module/GlobalModuleContext.h @@ -70,7 +70,7 @@ class GPGFRONTEND_CORE_EXPORT GlobalModuleContext : public QObject { auto GetGlobalTaskRunner() -> std::optional<TaskRunnerPtr>; - auto RegisterModule(ModulePtr) -> bool; + auto RegisterModule(ModulePtr, bool) -> bool; auto ActiveModule(ModuleIdentifier) -> bool; @@ -86,6 +86,8 @@ class GPGFRONTEND_CORE_EXPORT GlobalModuleContext : public QObject { auto IsModuleActivated(ModuleIdentifier) -> bool; + auto IsIntegratedModule(ModuleIdentifier) -> bool; + auto ListAllRegisteredModuleID() -> QList<ModuleIdentifier>; private: |