You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
530 B
27 lines
530 B
|
3 years ago
|
#ifndef BASEDATAMANAGER_H
|
||
|
|
#define BASEDATAMANAGER_H
|
||
|
|
|
||
|
|
#include <QObject>
|
||
|
|
#include <QPixmap>
|
||
|
|
#include "structs.h"
|
||
|
|
|
||
|
|
class BaseDataManager : public QObject
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
public:
|
||
|
|
BaseDataManager();
|
||
|
|
virtual ~BaseDataManager();
|
||
|
|
|
||
|
|
virtual QPixmap GetVerificationCode();
|
||
|
|
virtual UserInfo Login(const QString& userName,const QString& password,const QString& code);
|
||
|
|
|
||
|
|
signals:
|
||
|
|
//请求结束 ret 返回值 0成功 非0失败
|
||
|
|
void Finished(int ret);
|
||
|
|
|
||
|
|
protected:
|
||
|
|
UserInfo m_userInfo;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // BASEDATAMANAGER_H
|