summaryrefslogtreecommitdiffstats
path: root/logic/LegacyFTBInstance.cpp
blob: 6c6bd10b5383a22be8233d99790a2f5913be7c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "LegacyFTBInstance.h"

LegacyFTBInstance::LegacyFTBInstance(const QString &rootDir, SettingsObject *settings, QObject *parent) :
	LegacyInstance(rootDir, settings, parent)
{
}

QString LegacyFTBInstance::getStatusbarDescription()
{
	return "Legacy FTB: " + intendedVersionId();
}

bool LegacyFTBInstance::menuActionEnabled(QString action_name) const
{
	return false;
}

QString LegacyFTBInstance::id() const
{
	return "FTB/" + BaseInstance::id();
}