PrismLauncher/api/logic/tools/MCEditTool.h

18 lines
372 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:
MCEditTool(SettingsObjectPtr settings);
void setPath(QString & path);
QString path() const;
bool check(const QString &toolPath, QString &error);
QString getProgramPath();
private:
SettingsObjectPtr m_settings;
};