aboutsummaryrefslogtreecommitdiff
path: root/application/MultiMC.h
diff options
context:
space:
mode:
authorJanrupf <business.janrupf@gmail.com>2021-05-22 18:07:08 +0200
committerJanrupf <business.janrupf@gmail.com>2021-05-22 18:07:08 +0200
commitea6c42a93c95e3e62d7ac984ff2cc4f461dc43dd (patch)
tree351438888c33af89ae54f8147a8e4707147f5148 /application/MultiMC.h
parentf33fe05e5febf76d8e11ccd44073d99e00946d71 (diff)
downloadPrismLauncher-ea6c42a93c95e3e62d7ac984ff2cc4f461dc43dd.tar.gz
PrismLauncher-ea6c42a93c95e3e62d7ac984ff2cc4f461dc43dd.tar.bz2
PrismLauncher-ea6c42a93c95e3e62d7ac984ff2cc4f461dc43dd.zip
NOISSUE Allow joining servers from the servers page
Diffstat (limited to 'application/MultiMC.h')
-rw-r--r--application/MultiMC.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/application/MultiMC.h b/application/MultiMC.h
index e6588a14..57a43cb9 100644
--- a/application/MultiMC.h
+++ b/application/MultiMC.h
@@ -11,6 +11,8 @@
#include <BaseInstance.h>
+#include "minecraft/launch/MinecraftServerTarget.h"
+
class LaunchController;
class LocalPeer;
class InstanceWindow;
@@ -150,7 +152,12 @@ signals:
void globalSettingsClosed();
public slots:
- bool launch(InstancePtr instance, bool online = true, BaseProfilerFactory *profiler = nullptr);
+ bool launch(
+ InstancePtr instance,
+ bool online = true,
+ BaseProfilerFactory *profiler = nullptr,
+ MinecraftServerTargetPtr serverToJoin = nullptr
+ );
bool kill(InstancePtr instance);
private slots: