aboutsummaryrefslogtreecommitdiffstats
path: root/src/module/system/GlobalModuleContext.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-17 15:17:18 +0000
committersaturneric <[email protected]>2023-10-17 15:17:18 +0000
commit32b6d924e24d9ec80af2013009107cceb06c7489 (patch)
tree5e87555a465adf8cf7ad9adffbddbffd1fbaccc2 /src/module/system/GlobalModuleContext.h
parentrefactor: change plugin system to module system (diff)
downloadGpgFrontend-32b6d924e24d9ec80af2013009107cceb06c7489.tar.gz
GpgFrontend-32b6d924e24d9ec80af2013009107cceb06c7489.zip
fix: slove compile issues
Diffstat (limited to '')
-rw-r--r--src/module/system/GlobalModuleContext.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/module/system/GlobalModuleContext.h b/src/module/system/GlobalModuleContext.h
index 810961ea..a86a7c0f 100644
--- a/src/module/system/GlobalModuleContext.h
+++ b/src/module/system/GlobalModuleContext.h
@@ -26,8 +26,8 @@
*
*/
-#ifndef GPGFRONTEND_GLOBALPLUGINCONTEXT_H
-#define GPGFRONTEND_GLOBALPLUGINCONTEXT_H
+#ifndef GPGFRONTEND_GLOBALMODULECONTEXT_H
+#define GPGFRONTEND_GLOBALMODULECONTEXT_H
#include "GpgFrontendModuleSystemExport.h"
#include "core/GpgFrontendCore.h"
@@ -60,15 +60,15 @@ class GPGFRONTEND_MODULE_SYSTEM_EXPORT GlobalModuleContext : public QObject {
std::optional<TaskRunnerPtr> GetTaskRunner(ModulePtr);
- std::optional<TaskRunnerPtr> GetTaskRunner(ModuleIdentifier plugin);
+ std::optional<TaskRunnerPtr> GetTaskRunner(ModuleIdentifier);
std::optional<TaskRunnerPtr> GetGlobalTaskRunner();
- bool RegisterPlugin(ModulePtr);
+ bool RegisterModule(ModulePtr);
- bool ActivePlugin(ModuleIdentifier);
+ bool ActiveModule(ModuleIdentifier);
- bool DeactivatePlugin(ModuleIdentifier);
+ bool DeactivateModule(ModuleIdentifier);
bool ListenEvent(ModuleIdentifier, EventIdentifier);
@@ -81,4 +81,4 @@ class GPGFRONTEND_MODULE_SYSTEM_EXPORT GlobalModuleContext : public QObject {
} // namespace GpgFrontend::Module
-#endif // GPGFRONTEND_GLOBALPLUGINCONTEXT_H \ No newline at end of file
+#endif // GPGFRONTEND_GLOBALMODULECONTEXT_H \ No newline at end of file