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 16:46:57 +00:00
|
|
|
|
2021-07-25 17:11:59 +00:00
|
|
|
class MCEditTool
|
2014-02-16 09:46:14 +00:00
|
|
|
{
|
|
|
|
public:
|
2018-07-15 12:51:05 +00:00
|
|
|
MCEditTool(SettingsObjectPtr settings);
|
|
|
|
void setPath(QString & path);
|
|
|
|
QString path() const;
|
|
|
|
bool check(const QString &toolPath, QString &error);
|
|
|
|
QString getProgramPath();
|
2016-11-02 01:33:55 +00:00
|
|
|
private:
|
2018-07-15 12:51:05 +00:00
|
|
|
SettingsObjectPtr m_settings;
|
2014-02-16 09:46:14 +00:00
|
|
|
};
|