Debian Codegraph @

target-ethos/configuration/configuration.hpp

raw symbols SCIP
1 struct ConfigurationSettings : Configuration::Document {
2 struct Video : Configuration::Node {
3 string driver;
4 bool synchronize;
5 string shader;
6 unsigned scaleMode;
7 bool aspectCorrection;
8 bool colorEmulation;
9 struct MaskOverscan : Configuration::Node {
10 bool enable;
11 unsigned horizontal;
12 unsigned vertical;
13 } maskOverscan;
14 unsigned saturation;
15 unsigned gamma;
16 unsigned luminance;
17 bool startFullScreen;
18 } video;
19
20 struct Audio : Configuration::Node {
21 string driver;
22 bool synchronize;
23 unsigned frequency;
24 unsigned latency;
25 unsigned resampler;
26 unsigned volume;
27 bool mute;
28 } audio;
29
30 struct Input : Configuration::Node {
31 string driver;
32 struct Focus : Configuration::Node {
33 bool pause;
34 bool allow;
35 } focus;
36 } input;
37
38 struct Timing : Configuration::Node {
39 double video;
40 double audio;
41 } timing;
42
43 struct Server : Configuration::Node {
44 string hostname;
45 string username;
46 string password;
47 } server;
48
49 struct Library : Configuration::Node {
50 signed selection;
51 unsigned mediaMode;
52 bool showOnStartup;
53 } library;
54
55 void load();
56 void save();
57 ConfigurationSettings();
58 };
59
60 extern ConfigurationSettings* config;