XSteam/src/xsteam_git_fetch.h
JackLee_CN 6c8b430f77 增加入库源信息
增加更新功能
调整拉取信息参数
调整读取本地json函数名
删除curl全局初始化函数
2024-10-15 11:05:44 +08:00

23 lines
581 B
C++

#ifndef XSTEAM_GIT_FETCH_H
#define XSTEAM_GIT_FETCH_H
#include "common.h"
#include "xsteam_base.h"
#include "xsteam_curl.h"
#include "xsteam_git.h"
class xsteam_git_fetch : public QObject
{
Q_OBJECT
public:
explicit xsteam_git_fetch(QObject *parent = nullptr);
~xsteam_git_fetch();
void fecth_uid_to_steam(UidData& _uid_data);
private:
void free_git_fetch();
xsteam_git *x_git;
xsteam_curl *x_curl;
signals:
void signal_fetch_return_msg(std::string);
void signal_fetch_return_data(UidData);
};
#endif // XSTEAM_GIT_FETCH_H