Mercurial > minori
annotate include/core/ini.h @ 118:39521c47c7a3
*: another huge megacommit, SORRY
The torrents page works a lot better now
Added the edit option to the anime list right click menu
Vectorized currently playing files
Available player and extensions are now loaded at runtime
from files in (dotpath)/players.json and (dotpath)/extensions.json
These paths are not permanent and will likely be moved to
(dotpath)/recognition
...
...
...
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 07 Nov 2023 23:40:54 -0500 |
parents | 254b1d2b7096 |
children | 275da698697d |
rev | line source |
---|---|
102 | 1 #ifndef __core__ini_h |
2 #define __core__ini_h | |
3 | |
4 #define MINI_CASE_SENSITIVE | |
5 #include "mini/ini.h" | |
6 | |
116
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
102
diff
changeset
|
7 namespace INI { |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
102
diff
changeset
|
8 |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
102
diff
changeset
|
9 std::string GetIniString(const mINI::INIStructure& ini, const std::string& section, |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
102
diff
changeset
|
10 const std::string& value, const std::string& def = ""); |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
102
diff
changeset
|
11 |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
102
diff
changeset
|
12 } |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
102
diff
changeset
|
13 |
102 | 14 #endif |