summaryrefslogtreecommitdiffstats
path: root/logic/BaseInstance.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-09-23 00:23:50 +0200
committerPetr Mrázek <peterix@gmail.com>2013-09-23 00:29:40 +0200
commit984c36e571aae45cdd55da2fb689538198aadd3c (patch)
treec703bca5c0bc1d3a24e9f11e7e2f788d774461af /logic/BaseInstance.h
parenteb4ed3734fb4841a9e0b49af912158151f76c93b (diff)
downloadMultiMC-984c36e571aae45cdd55da2fb689538198aadd3c.tar
MultiMC-984c36e571aae45cdd55da2fb689538198aadd3c.tar.gz
MultiMC-984c36e571aae45cdd55da2fb689538198aadd3c.tar.lz
MultiMC-984c36e571aae45cdd55da2fb689538198aadd3c.tar.xz
MultiMC-984c36e571aae45cdd55da2fb689538198aadd3c.zip
Implement basic yggdrasil auth.
No fancy login token saving involved.
Diffstat (limited to 'logic/BaseInstance.h')
-rw-r--r--logic/BaseInstance.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/logic/BaseInstance.h b/logic/BaseInstance.h
index 374d1437..0056327a 100644
--- a/logic/BaseInstance.h
+++ b/logic/BaseInstance.h
@@ -22,6 +22,7 @@
#include "inifile.h"
#include "lists/BaseVersionList.h"
+#include "net/LoginTask.h"
class QDialog;
class BaseUpdate;
@@ -147,7 +148,7 @@ public:
virtual BaseUpdate* doUpdate() = 0;
/// returns a valid minecraft process, ready for launch
- virtual MinecraftProcess* prepareForLaunch(QString user, QString session) = 0;
+ virtual MinecraftProcess* prepareForLaunch(LoginResponse response) = 0;
/// do any necessary cleanups after the instance finishes. also runs before 'prepareForLaunch'
virtual void cleanupAfterRun() = 0;