15 lines
371 B
C++
15 lines
371 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
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;
|
|
};
|