From 85ae710d407eb31527183d5f8bec0399eb209f33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 11 Nov 2017 01:38:31 +0100 Subject: GH-2026 implement changes necessary to support 1.13 snapshots --- api/logic/BaseInstance.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'api/logic/BaseInstance.h') diff --git a/api/logic/BaseInstance.h b/api/logic/BaseInstance.h index 26d4bc35..d0909031 100644 --- a/api/logic/BaseInstance.h +++ b/api/logic/BaseInstance.h @@ -30,6 +30,8 @@ #include "MessageLevel.h" #include "pathmatcher/IPathMatcher.h" +#include "net/Mode.h" + #include "multimc_logic_export.h" class QDir; @@ -148,7 +150,7 @@ public: virtual SettingsObjectPtr settings() const; /// returns a valid update task - virtual shared_qobject_ptr createUpdateTask() = 0; + virtual shared_qobject_ptr createUpdateTask(Net::Mode mode) = 0; /// returns a valid launcher (task container) virtual std::shared_ptr createLaunchTask(AuthSessionPtr account) = 0; @@ -224,7 +226,7 @@ public: virtual bool canEdit() const = 0; virtual bool canExport() const = 0; - virtual bool reload(); + bool reloadSettings(); /** * 'print' a verbose desription of the instance into a QStringList -- cgit v1.2.3