feat: Implement module registration and loading functionality

This commit is contained in:
xiaozhou233 committed 2026-04-21 18:34:32 +08:00
1 parent 79ae4b62a3
commit e1577d4fae
5 files changed
+78 -3

No files matched your search

@@ -4,6 +4,7 @@
#include <vector>
#include <string>
#include <modules/IModule.hpp>
#include <JuiceAgent/Config.hpp>
namespace JuiceAgent::Core::Modules {
@@ -20,6 +21,8 @@ public:
IModule* find_module(const std::string& name);
bool loadAllRegisteredModules();
private:
std::vector<std::unique_ptr<IModule>> _modules;
};