comparison include/core/config.h @ 226:f784b5b1914c

settings: add library page
author Paper <mrpapersonic@gmail.com>
date Mon, 08 Jan 2024 21:23:00 -0500
parents 53211cb1e7f5
children d030b30526d5
comparison
equal deleted inserted replaced
225:56ea2bdc6724 226:f784b5b1914c
7 7
8 #include "animia/player.h" 8 #include "animia/player.h"
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 #include <set>
12 #include <utility> 13 #include <utility>
13 14
14 struct MediaPlayer { 15 struct MediaPlayer {
15 bool enabled = true; 16 bool enabled = true;
16 animia::Player player; 17 animia::Player player;
52 struct { 53 struct {
53 std::string feed_link; 54 std::string feed_link;
54 } torrents; 55 } torrents;
55 56
56 struct { 57 struct {
57 std::vector<std::string> paths; 58 bool real_time_monitor;
59 std::set<std::string> paths;
58 } library; 60 } library;
59 }; 61 };
60 62
61 #if (defined(WIN32) || defined(MACOSX)) 63 #if (defined(WIN32) || defined(MACOSX))
62 constexpr std::string_view CONFIG_DIR = "Minori"; 64 constexpr std::string_view CONFIG_DIR = "Minori";