summaryrefslogtreecommitdiffhomepage
path: root/opentrack-logic/main-settings.hpp
diff options
context:
space:
mode:
authorDaMichel <mw.pub@welter-4d.de>2016-07-30 17:52:51 +0200
committerGitHub <noreply@github.com>2016-07-30 17:52:51 +0200
commitae51598b329f7120c6ee07e2ed127a607ff68f1e (patch)
tree5530cadb7f2cd5794b06510a77a131924c6bb8a5 /opentrack-logic/main-settings.hpp
parentc346bb024b2a109debf59774eb96971d32a528ae (diff)
parent44428d4b5eeae78fd9cdedce840f7de2ddc6c6b2 (diff)
Merge pull request #398 from DaMichel/logging
Track Logging
Diffstat (limited to 'opentrack-logic/main-settings.hpp')
-rw-r--r--opentrack-logic/main-settings.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/opentrack-logic/main-settings.hpp b/opentrack-logic/main-settings.hpp
index a7dcd11c..81eb99cf 100644
--- a/opentrack-logic/main-settings.hpp
+++ b/opentrack-logic/main-settings.hpp
@@ -73,6 +73,8 @@ struct main_settings
key_opts key_start_tracking, key_stop_tracking, key_toggle_tracking, key_restart_tracking;
key_opts key_center, key_toggle, key_zero;
key_opts key_toggle_press, key_zero_press;
+ value<bool> tracklogging_enabled;
+ value<QString> tracklogging_filename;
main_settings() :
b(bundle("opentrack-ui")),
a_x(b, "x", TX),
@@ -98,7 +100,9 @@ struct main_settings
key_toggle(b, "toggle"),
key_zero(b, "zero"),
key_toggle_press(b, "toggle-press"),
- key_zero_press(b, "zero-press")
+ key_zero_press(b, "zero-press"),
+ tracklogging_enabled(b, "tracklogging-enabled", false),
+ tracklogging_filename(b, "tracklogging-filename", QString())
{
}
};