Mercurial > minori
view include/library/library.h @ 328:71396ecb6f7e
library: convert to class + database
it also stores std::filesystem::paths now...
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Fri, 14 Jun 2024 00:37:45 -0400 |
parents | 3ec7804abf17 |
children | 886f66775f31 |
line wrap: on
line source
#ifndef MINORI_LIBRARY_LIBRARY_H_ #define MINORI_LIBRARY_LIBRARY_H_ #include "library/library.h" #include <filesystem> #include <unordered_map> namespace Library { class Database { public: void Refresh(); std::unordered_map<int, std::unordered_map<int, std::filesystem::path>> items; }; extern Database db; } // namespace Library #endif // MINORI_LIBRARY_LIBRARY_H_