diff options
author | Sky <git@bunnies.cc> | 2013-10-17 00:02:56 +0100 |
---|---|---|
committer | Sky <git@bunnies.cc> | 2013-10-17 00:02:56 +0100 |
commit | c700b7be2e6e5632f6cea6f0c45744f494a0629f (patch) | |
tree | e434b8773bf11aa3eba84ff2f3886a4e4dbf2004 /logic/net/LoginTask.h | |
parent | 71d5cf91a86bd268550a12732aebac7570cfae92 (diff) | |
download | PrismLauncher-c700b7be2e6e5632f6cea6f0c45744f494a0629f.tar.gz PrismLauncher-c700b7be2e6e5632f6cea6f0c45744f494a0629f.tar.bz2 PrismLauncher-c700b7be2e6e5632f6cea6f0c45744f494a0629f.zip |
Un-copy-pasta the login response handler using std::function magic
Diffstat (limited to 'logic/net/LoginTask.h')
-rw-r--r-- | logic/net/LoginTask.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/logic/net/LoginTask.h b/logic/net/LoginTask.h index daea18af..fa5897cb 100644 --- a/logic/net/LoginTask.h +++ b/logic/net/LoginTask.h @@ -54,6 +54,8 @@ protected slots: void processYggdrasilReply(QNetworkReply *reply); void parseYggdrasilReply(QByteArray data); + void processReply(QNetworkReply *reply, std::function<void(LoginTask*, QByteArray)>); + protected: void executeTask(); |