mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-22 03:37:14 +00:00
Derpstances. Everything renamed. Launching does not yet work.
This commit is contained in:
22
logic/DerpFTBInstance.h
Normal file
22
logic/DerpFTBInstance.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "DerpInstance.h"
|
||||
|
||||
class DerpLibrary;
|
||||
|
||||
class DerpFTBInstance : public DerpInstance
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit DerpFTBInstance(const QString &rootDir, SettingsObject *settings,
|
||||
QObject *parent = 0);
|
||||
virtual QString getStatusbarDescription();
|
||||
virtual bool menuActionEnabled(QString action_name) const;
|
||||
|
||||
virtual std::shared_ptr<Task> doUpdate(bool only_prepare) override;
|
||||
|
||||
virtual QString id() const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<DerpLibrary> m_forge;
|
||||
};
|
||||
Reference in New Issue
Block a user