21 lines
483 B
C++
21 lines
483 B
C++
#ifndef CODERS_TOML_HPP_
|
|
#define CODERS_TOML_HPP_
|
|
|
|
#include <string>
|
|
|
|
#include <data/dynamic.hpp>
|
|
|
|
class SettingsHandler;
|
|
|
|
namespace toml {
|
|
std::string stringify(SettingsHandler& handler);
|
|
std::string stringify(dynamic::Map& root, const std::string& name = "");
|
|
dynamic::Map_sptr parse(std::string_view file, std::string_view source);
|
|
|
|
void parse(
|
|
SettingsHandler& handler, std::string_view file, std::string_view source
|
|
);
|
|
}
|
|
|
|
#endif // CODERS_TOML_HPP_
|