GH-2026 implement changes necessary to support 1.13 snapshots
This commit is contained in:
		| @@ -19,13 +19,14 @@ | ||||
| #include <QObjectPtr.h> | ||||
| #include <LoggedProcess.h> | ||||
| #include <java/JavaChecker.h> | ||||
| #include <net/Mode.h> | ||||
|  | ||||
| // FIXME: stupid. should be defined by the instance type? or even completely abstracted away... | ||||
| class Update: public LaunchStep | ||||
| { | ||||
| 	Q_OBJECT | ||||
| public: | ||||
| 	explicit Update(LaunchTask *parent):LaunchStep(parent) {}; | ||||
| 	explicit Update(LaunchTask *parent, Net::Mode mode):LaunchStep(parent), m_mode(mode) {}; | ||||
| 	virtual ~Update() {}; | ||||
|  | ||||
| 	void executeTask() override; | ||||
| @@ -40,4 +41,5 @@ private slots: | ||||
| private: | ||||
| 	shared_qobject_ptr<Task> m_updateTask; | ||||
| 	bool m_aborted = false; | ||||
| 	Net::Mode m_mode = Net::Mode::Offline; | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Petr Mrázek
					Petr Mrázek