#pragma once
#include <string>
#include "model/RocrailPlan.h"

namespace MC {

class PlanXmlReader {
public:
    bool Read(const std::string& filePath, RocrailPlan& outPlan);
    const std::string& LastError() const { return m_lastError; }

private:
    std::string m_lastError;
};

} // namespace MC
