Files
baidu_fanyi/bf.config.h
2026-03-10 11:51:02 +08:00

32 lines
466 B
C++

#ifndef BF_CONFIG_H
#define BF_CONFIG_H
#include <string>
enum BF_Type {
BFT_COMMON = 0,
BFT_AI
};
struct XlsxTask {
int startRow;
int startCol;
int endRow;
int endCol;
};
class BF_Config
{
public:
BF_Config() = default;
bool parseConfig(const std::string& file);
public:
std::string baseUrl;
std::string appId;
std::string appKey;
std::string appSecret;
BF_Type type = BFT_COMMON;
};
#endif // BF_CONFIG_H