#ifndef MODULE_A_CONFIG_H #define MODULE_A_CONFIG_H #include "project_marco.h" /// /// 配置模块A /// class module_a_config : public studio_singleton { public: bool read_config(const std::string& fpath) { bool status = false; if (!std::filesystem::exists(std::filesystem::path(fpath))) { std::cout << "config file not exist" << std::endl; return status; } status = true; return status; } }; #endif // MODULE_A_CONFIG_H