5 #ifndef API_V2_ICORE_HPP
6 #define API_V2_ICORE_HPP
27 virtual bool Run(std::vector<std::string>
const &opts,
IModuleLoader *moduleLoader) = 0;
41 virtual IModule *
Get(std::string
const &name)
const = 0;
51 #endif //API_V2_ICORE_HPP
virtual bool Run(std::vector< std::string > const &opts, IModuleLoader *moduleLoader)=0
virtual IConfig const & GetConfig() const =0
virtual IModule * Get(std::string const &name) const =0
Get the module by name from the list in ModuleLoader.
This class is for the config It's use to store a pointer of the config in the Core You have to dynami...