summaryrefslogtreecommitdiffstats
path: root/logic/BaseInstance.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-07-04 20:02:43 +0200
committerPetr Mrázek <peterix@gmail.com>2015-07-04 20:02:43 +0200
commit526a511f455234152ca9b5bc8c60d3c82cbfa417 (patch)
treedfc64e8d84fff503f646e7422d6b7939475a6dca /logic/BaseInstance.h
parent5628d3d379785c9c6f4a595c70392d9b1e9ea4df (diff)
downloadMultiMC-526a511f455234152ca9b5bc8c60d3c82cbfa417.tar
MultiMC-526a511f455234152ca9b5bc8c60d3c82cbfa417.tar.gz
MultiMC-526a511f455234152ca9b5bc8c60d3c82cbfa417.tar.lz
MultiMC-526a511f455234152ca9b5bc8c60d3c82cbfa417.tar.xz
MultiMC-526a511f455234152ca9b5bc8c60d3c82cbfa417.zip
GH-1053 move instance update into the launch task (BaseLauncher)
Diffstat (limited to 'logic/BaseInstance.h')
-rw-r--r--logic/BaseInstance.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/BaseInstance.h b/logic/BaseInstance.h
index 91d46df1..497431d0 100644
--- a/logic/BaseInstance.h
+++ b/logic/BaseInstance.h
@@ -138,7 +138,7 @@ public:
virtual std::shared_ptr<Task> doUpdate() = 0;
/// returns a valid process, ready for launch with the given account.
- virtual BaseLauncher *prepareForLaunch(AuthSessionPtr account) = 0;
+ virtual std::shared_ptr<BaseLauncher> prepareForLaunch(AuthSessionPtr account) = 0;
/// do any necessary cleanups after the instance finishes. also runs before
/// 'prepareForLaunch'