#pragma once #include class AppCfg { public: static void SetWorkPath(const std::string& work_path); static const std::string GetWorkPath(); static bool SetLicense(const std::string& license); static void SetFaceMatchThreshold(float threshold); private: static std::string m_work_path; // 静态成员变量声明 static bool m_auth; };