// // Created by Tunm-Air13 on 2024/4/7. // #pragma once #ifndef INSPIREFACE_ENVIRO_H #define INSPIREFACE_ENVIRO_H #include class Enviro { public: static Enviro& getInstance() { static Enviro instance; return instance; } Enviro(Enviro const&) = delete; void operator=(Enviro const&) = delete; std::string getPackName() const { return packName; } void setPackName(const std::string& name) { packName = name; } const std::string &getTestResDir() const { return testResDir; } void setTestResDir(const std::string &dir) { Enviro::testResDir = dir; } private: Enviro() {} std::string packName = "Pikachu"; std::string testResDir = "test_res"; }; #endif //INSPIREFACE_ENVIRO_H