view include/library/library.h @ 318:3b355fa948c7

config: use TOML instead of INI unfortunately, INI is not enough, and causes some paths including semicolons to break with our current storage of the library folders. so, I decided to switch to TOML which does support real arrays...
author Paper <paper@paper.us.eu.org>
date Wed, 12 Jun 2024 05:25:41 -0400
parents 3ec7804abf17
children 71396ecb6f7e
line wrap: on
line source

#ifndef MINORI_LIBRARY_LIBRARY_H_
#define MINORI_LIBRARY_LIBRARY_H_

#include "library/library.h"

#include <string>
#include <unordered_map>

namespace Library {

// int = anime id, map = episode, paths
extern std::unordered_map<int, std::unordered_map<int, std::string>> library;

void SearchLibraryFolders();

} // namespace Library

#endif // MINORI_LIBRARY_LIBRARY_H_