initial functional file indexer, added Qt / C++ port of Cartographer

This commit is contained in:
Joshua Strobl 2024-10-02 17:51:51 +03:00
parent fae3d30dbd
commit c52386abb4
19 changed files with 721 additions and 149 deletions

View file

@ -1,17 +1,20 @@
#pragma once
#include "includes/toml.hpp"
#include <filesystem>
#include <string>
#include "includes/toml.hpp"
namespace fs = std::filesystem;
class KotoLibraryConfig {
public:
KotoLibraryConfig(const toml::value &v);
~KotoLibraryConfig();
std::string getName();
fs::path getPath();
private:
std::string i_name;
fs::path i_path;
public:
KotoLibraryConfig(std::string name, fs::path path);
KotoLibraryConfig(const toml::value& v);
~KotoLibraryConfig();
std::string getName();
fs::path getPath();
private:
std::string i_name;
fs::path i_path;
};