From c1f5b3336836e15d193582e9b8f3e044f7d8bc1b Mon Sep 17 00:00:00 2001 From: saturneric Date: Thu, 29 Feb 2024 18:15:57 +0800 Subject: 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 --- src/core/module/ModuleManager.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/module/ModuleManager.h') diff --git a/src/core/module/ModuleManager.h b/src/core/module/ModuleManager.h index 5bebe934..5110dfc2 100644 --- a/src/core/module/ModuleManager.h +++ b/src/core/module/ModuleManager.h @@ -69,6 +69,8 @@ class GPGFRONTEND_CORE_EXPORT ModuleManager auto SearchModule(ModuleIdentifier) -> ModulePtr; + auto ListAllRegisteredModuleID() -> QList; + void RegisterModule(ModulePtr); auto IsModuleActivated(ModuleIdentifier) -> bool; @@ -79,6 +81,8 @@ class GPGFRONTEND_CORE_EXPORT ModuleManager auto SearchEvent(EventTriggerIdentifier) -> std::optional; + auto GetModuleListening(ModuleIdentifier) -> QList; + void ActiveModule(ModuleIdentifier); void DeactiveModule(ModuleIdentifier); -- cgit v1.2.3