mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
d85e820a07
Add support of private packs. Fix instance ID problems related to FTB instances.
23 lines
498 B
C++
23 lines
498 B
C++
#pragma once
|
|
|
|
#include "OneSixInstance.h"
|
|
|
|
class OneSixLibrary;
|
|
|
|
class OneSixFTBInstance : public OneSixInstance
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit OneSixFTBInstance(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<OneSixLibrary> m_forge;
|
|
};
|