summaryrefslogtreecommitdiffstats
path: root/libmultimc/include/logintask.h
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-05-08 12:56:43 -0500
committerAndrew <forkk@forkk.net>2013-05-08 12:56:43 -0500
commit5f781b3053c5ba8a25d354903acf2c31dc9a56c5 (patch)
tree94361d20568e55d63db7b18f3c7dded7d1e88e06 /libmultimc/include/logintask.h
parent2e62f6e8d8aded1036f96835ebebd4d656c0fcc2 (diff)
downloadMultiMC-5f781b3053c5ba8a25d354903acf2c31dc9a56c5.tar
MultiMC-5f781b3053c5ba8a25d354903acf2c31dc9a56c5.tar.gz
MultiMC-5f781b3053c5ba8a25d354903acf2c31dc9a56c5.tar.lz
MultiMC-5f781b3053c5ba8a25d354903acf2c31dc9a56c5.tar.xz
MultiMC-5f781b3053c5ba8a25d354903acf2c31dc9a56c5.zip
Implement basic game updater.
Resolves MMC-4: https://jira.forkk.net/browse/MMC-4
Diffstat (limited to 'libmultimc/include/logintask.h')
-rw-r--r--libmultimc/include/logintask.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/libmultimc/include/logintask.h b/libmultimc/include/logintask.h
index e00609ec..15d715bd 100644
--- a/libmultimc/include/logintask.h
+++ b/libmultimc/include/logintask.h
@@ -30,20 +30,19 @@ class LIBMULTIMC_EXPORT LoginTask : public Task
{
Q_OBJECT
public:
- explicit LoginTask(const UserInfo& uInfo, QString inst, QObject *parent = 0);
+ explicit LoginTask(const UserInfo& uInfo, QObject *parent = 0);
public slots:
void processNetReply(QNetworkReply* reply);
signals:
- void loginComplete(QString inst, LoginResponse loginResponse);
- void loginFailed(QString inst, const QString& errorMsg);
+ void loginComplete(LoginResponse loginResponse);
+ void loginFailed(const QString& errorMsg);
protected:
void executeTask();
QNetworkReply* netReply;
- QString inst;
UserInfo uInfo;
};