MultiMC5/api/logic/tools/MCEditTool.h

18 lines
390 B
C
Raw Normal View History

#pragma once
#include <QString>
#include "settings/SettingsObject.h"
#include "multimc_logic_export.h"
class MULTIMC_LOGIC_EXPORT MCEditTool
{
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();
private:
2018-07-15 12:51:05 +00:00
SettingsObjectPtr m_settings;
};