diff options
author | Andrew <forkk@forkk.net> | 2013-05-08 12:56:43 -0500 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-05-08 12:56:43 -0500 |
commit | 5f781b3053c5ba8a25d354903acf2c31dc9a56c5 (patch) | |
tree | 94361d20568e55d63db7b18f3c7dded7d1e88e06 /libmultimc/include/minecraftprocess.h | |
parent | 2e62f6e8d8aded1036f96835ebebd4d656c0fcc2 (diff) | |
download | MultiMC-5f781b3053c5ba8a25d354903acf2c31dc9a56c5.tar MultiMC-5f781b3053c5ba8a25d354903acf2c31dc9a56c5.tar.gz MultiMC-5f781b3053c5ba8a25d354903acf2c31dc9a56c5.tar.lz MultiMC-5f781b3053c5ba8a25d354903acf2c31dc9a56c5.tar.xz MultiMC-5f781b3053c5ba8a25d354903acf2c31dc9a56c5.zip |
Implement basic game updater.
Resolves MMC-4: https://jira.forkk.net/browse/MMC-4
Diffstat (limited to 'libmultimc/include/minecraftprocess.h')
-rw-r--r-- | libmultimc/include/minecraftprocess.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmultimc/include/minecraftprocess.h b/libmultimc/include/minecraftprocess.h index ac4d6be2..eb861236 100644 --- a/libmultimc/include/minecraftprocess.h +++ b/libmultimc/include/minecraftprocess.h @@ -54,7 +54,7 @@ public: * @param session the minecraft session id * @param console the instance console window */ - MinecraftProcess(InstancePtr inst, QString user, QString session); + MinecraftProcess(Instance *inst, QString user, QString session); /** * @brief launch minecraft @@ -66,7 +66,7 @@ public: * @param inst the instance * @param destination the destination path */ - static inline void extractIcon(InstancePtr inst, QString destination); + static inline void extractIcon(Instance *inst, QString destination); /** * @brief extract the MultiMC launcher.jar @@ -78,7 +78,7 @@ public: * @brief prepare the launch by extracting icon and launcher * @param inst the instance */ - static void prepare(InstancePtr inst); + static void prepare(Instance *inst); /** * @brief split a string into argv items like a shell would do @@ -101,7 +101,7 @@ signals: void log(QString text, MessageLevel::Enum level=MessageLevel::MultiMC); protected: - InstancePtr m_instance; + Instance *m_instance; QString m_user; QString m_session; QString m_err_leftover; |