pollymc/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 18:21:05 +05:30
MCEditTool(SettingsObjectPtr settings);
void setPath(QString & path);
QString path() const;
bool check(const QString &toolPath, QString &error);
QString getProgramPath();
private:
2018-07-15 18:21:05 +05:30
SettingsObjectPtr m_settings;
};