2014-02-16 09:46:14 +00:00
|
|
|
#pragma once
|
|
|
|
|
2016-11-02 01:33:55 +00:00
|
|
|
#include <QString>
|
|
|
|
#include "settings/SettingsObject.h"
|
2015-09-05 17:46:57 +01:00
|
|
|
|
2023-08-02 17:35:35 +01:00
|
|
|
class MCEditTool {
|
|
|
|
public:
|
2016-11-02 01:33:55 +00:00
|
|
|
MCEditTool(SettingsObjectPtr settings);
|
2023-08-02 17:35:35 +01:00
|
|
|
void setPath(QString& path);
|
2016-11-02 01:33:55 +00:00
|
|
|
QString path() const;
|
2023-08-02 17:35:35 +01:00
|
|
|
bool check(const QString& toolPath, QString& error);
|
2016-11-02 01:33:55 +00:00
|
|
|
QString getProgramPath();
|
2023-08-02 17:35:35 +01:00
|
|
|
|
|
|
|
private:
|
2016-11-02 01:33:55 +00:00
|
|
|
SettingsObjectPtr m_settings;
|
2014-02-16 09:46:14 +00:00
|
|
|
};
|