MultiMC5/api/logic/tools/MCEditTool.h
2018-07-15 14:51:05 +02:00

18 lines
390 B
C++

#pragma once
#include <QString>
#include "settings/SettingsObject.h"
#include "multimc_logic_export.h"
class MULTIMC_LOGIC_EXPORT MCEditTool
{
public:
MCEditTool(SettingsObjectPtr settings);
void setPath(QString & path);
QString path() const;
bool check(const QString &toolPath, QString &error);
QString getProgramPath();
private:
SettingsObjectPtr m_settings;
};