Mercurial > minori
comparison include/core/config.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 |
comparison
equal
deleted
inserted
replaced
117:2c1b6782e1d0 | 118:39521c47c7a3 |
---|---|
2 #define __core__config_h | 2 #define __core__config_h |
3 | 3 |
4 #include "core/anime.h" | 4 #include "core/anime.h" |
5 #include "gui/theme.h" | 5 #include "gui/theme.h" |
6 #include "gui/locale.h" | 6 #include "gui/locale.h" |
7 #include <string> | |
8 #include <vector> | |
7 | 9 |
8 class Config { | 10 class Config { |
9 public: | 11 public: |
10 int Load(); | 12 int Load(); |
11 int Save(); | 13 int Save() const; |
12 | 14 |
13 Anime::Services service; | 15 Anime::Services service; |
14 Theme::Theme theme; | 16 Theme::Theme theme; |
15 Locale::Locale locale; | 17 Locale::Locale locale; |
16 | 18 |