summaryrefslogtreecommitdiffstats
path: root/api/logic/tools/MCEditTool.h
blob: 1465494e009920b18f854b0349783560056e9d49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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;
};