#include "library.hpp" #include #include KotoLibraryConfig::KotoLibraryConfig(std::string name, fs::path path) { this->i_name = name; this->i_path = path; qDebug() << "Library: " << this->i_name.c_str() << " at " << this->i_path.c_str(); } KotoLibraryConfig::~KotoLibraryConfig() {} KotoLibraryConfig::KotoLibraryConfig(const toml::value& v) { this->i_name = toml::find(v, "name"); this->i_path = toml::find(v, "path"); } std::string KotoLibraryConfig::getName() { return this->i_name; } fs::path KotoLibraryConfig::getPath() { return this->i_path; }