sfizz/editor/tools/layout-maker/sources/reader.h
Jean Pierre Cimalando 40e48bcc54 User interface update
2020-09-07 13:13:23 +02:00

13 lines
301 B
C++

#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) {}
};