initial commit
This commit is contained in:
commit
fae3d30dbd
26 changed files with 18409 additions and 0 deletions
15
desktop/config/library.cpp
Normal file
15
desktop/config/library.cpp
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue