Mercurial > minori
annotate include/core/ini.h @ 116:254b1d2b7096
settings: add torrents page, make rss feed configurable
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 07 Nov 2023 13:52:13 -0500 |
parents | b315f3759c56 |
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 |