summaryrefslogtreecommitdiffstats
path: root/gui/MainWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/MainWindow.h')
-rw-r--r--gui/MainWindow.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/gui/MainWindow.h b/gui/MainWindow.h
index c0fcc385..f88905bf 100644
--- a/gui/MainWindow.h
+++ b/gui/MainWindow.h
@@ -113,9 +113,11 @@ slots:
*/
void launchInstance(BaseInstance* instance, MojangAccountPtr account);
- void onLoginComplete();
+ /*!
+ * Prepares the given instance for launch with the given account.
+ */
+ void prepareLaunch(BaseInstance* instance, MojangAccountPtr account);
- void onGameUpdateComplete();
void onGameUpdateError(QString error);
void taskStart();
@@ -160,12 +162,6 @@ private:
BaseInstance *m_selectedInstance;
- // A pointer to the instance we are actively doing stuff with.
- // This is set when the user launches an instance and is used to refer to that
- // instance throughout the launching process.
- BaseInstance *m_activeInst;
- LoginResponse m_activeLogin;
-
Task *m_versionLoadTask;
QLabel *m_statusLeft;