aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/module/GlobalModuleContext.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-02-29 10:15:57 +0000
committersaturneric <[email protected]>2024-02-29 10:15:57 +0000
commitc1f5b3336836e15d193582e9b8f3e044f7d8bc1b (patch)
tree35e9edb2e8f0c80dbafb76cc05ad6fe92c2c11d0 /src/core/module/GlobalModuleContext.h
parentfeat: upgrade module system (diff)
downloadGpgFrontend-c1f5b3336836e15d193582e9b8f3e044f7d8bc1b.tar.gz
GpgFrontend-c1f5b3336836e15d193582e9b8f3e044f7d8bc1b.zip
feat: add module controller and continue to work on module system
1. speed up building by reducing build info sheader including 2. add module controller 3. continue to work on module system
Diffstat (limited to 'src/core/module/GlobalModuleContext.h')
-rw-r--r--src/core/module/GlobalModuleContext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/module/GlobalModuleContext.h b/src/core/module/GlobalModuleContext.h
index 7034fd77..ae4300af 100644
--- a/src/core/module/GlobalModuleContext.h
+++ b/src/core/module/GlobalModuleContext.h
@@ -82,8 +82,12 @@ class GPGFRONTEND_CORE_EXPORT GlobalModuleContext : public QObject {
auto SearchEvent(EventTriggerIdentifier) -> std::optional<EventRefrernce>;
+ auto GetModuleListening(ModuleIdentifier) -> QList<EventIdentifier>;
+
auto IsModuleActivated(ModuleIdentifier) -> bool;
+ auto ListAllRegisteredModuleID() -> QList<ModuleIdentifier>;
+
private:
class Impl;
SecureUniquePtr<Impl> p_;