mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 13:05:53 +08:00
feat: Implement module registration and loading functionality
This commit is contained in:
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;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user