initial commit

This commit is contained in:
Joshua Strobl 2024-09-29 17:29:10 +03:00
commit fae3d30dbd
26 changed files with 18409 additions and 0 deletions

View file

@ -0,0 +1,15 @@
#include "library.hpp"
#include <string>
KotoLibraryConfig::KotoLibraryConfig(const toml::value &v) {
this->i_name = toml::find<std::string>(v, "name");
this->i_path = toml::find<std::string>(v, "path");
}
std::string KotoLibraryConfig::getName() {
return this->i_name;
}
fs::path KotoLibraryConfig::getPath() {
return this->i_path;
}