WLG/scheduler/update_cfg.hpp

15 lines
348 B
C++
Raw Normal View History

2025-01-23 11:13:58 +08:00
#ifndef UPDATE_CFG_HPP_
#define UPDATE_CFG_HPP_
#include <unordered_set>
#define CONFIG_UPDATE "/opt/configenv/config_update.json"
class UpdateCfg {
public:
static int ReadCfg(std::unordered_set<int> &update);
static int WriteCfg(std::unordered_set<int> &update);
static void ClearCfg();
};
2024-11-05 14:44:08 +08:00
#endif // UPDATE_CFG_HPP_