summaryrefslogtreecommitdiffstats
path: root/application/MultiMC.h
diff options
context:
space:
mode:
Diffstat (limited to 'application/MultiMC.h')
-rw-r--r--application/MultiMC.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/application/MultiMC.h b/application/MultiMC.h
index 28a9641a..48be3b22 100644
--- a/application/MultiMC.h
+++ b/application/MultiMC.h
@@ -151,6 +151,11 @@ public:
return m_runningInstances;
}
+ bool updatesAreAllowed();
+
+signals:
+ void updateAllowedChanged(bool status);
+
public slots:
bool launch(InstancePtr instance, bool online = true, BaseProfilerFactory *profiler = nullptr);
bool kill(InstancePtr instance);
@@ -187,6 +192,11 @@ private:
void showFatalErrorMessage(const QString & title, const QString & content);
private:
+ void addRunningInstance();
+ void subRunningInstance();
+ bool shouldExitNow() const;
+
+private:
QDateTime startTime;
std::shared_ptr<SettingsObject> m_settings;