mirror of
https://github.com/obsqrbtz/clrsync.git
synced 2026-04-09 20:47:40 +03:00
refactor: error handling with err objects
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define clrsync_CORE_IO_THEME_TEMPLATE_HPP
|
||||
|
||||
#include <core/palette/palette.hpp>
|
||||
#include <core/error.hpp>
|
||||
#include <string>
|
||||
|
||||
namespace clrsync::core
|
||||
@@ -26,11 +27,11 @@ class theme_template
|
||||
|
||||
void set_output_path(const std::string &path);
|
||||
|
||||
void load_template();
|
||||
Result<void> load_template();
|
||||
|
||||
void apply_palette(const core::palette &palette);
|
||||
|
||||
void save_output() const;
|
||||
Result<void> save_output() const;
|
||||
|
||||
const std::string &raw_template() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user