sfizz/editor/tools/layout-maker/sources/reader.h

14 lines
301 B
C
Raw Normal View History

2020-09-02 12:19:26 +02:00
#pragma once
#include "layout.h"
#include <string>
#include <stdexcept>
Layout read_file_layout(const char *filename);
///
struct file_format_error : public std::runtime_error {
public:
explicit file_format_error(const std::string &reason = "Format error")
: runtime_error(reason) {}
};