PrismLauncher/launcher/tools/MCEditTool.h

17 lines
341 B
C
Raw Permalink Normal View History

#pragma once
#include <QString>
#include "settings/SettingsObject.h"
class MCEditTool {
public:
2018-07-15 13:51:05 +01:00
MCEditTool(SettingsObjectPtr settings);
void setPath(QString& path);
2018-07-15 13:51:05 +01:00
QString path() const;
bool check(const QString& toolPath, QString& error);
2018-07-15 13:51:05 +01:00
QString getProgramPath();
private:
2018-07-15 13:51:05 +01:00
SettingsObjectPtr m_settings;
};