summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index 1b9f51f6e..52fe47b3f 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -678,6 +678,10 @@ public:
return _player_http_server_port;
}
+ bool relative_paths() const {
+ return _relative_paths;
+ }
+
/* SET (mostly) */
void set_master_encoding_threads (int n) {
@@ -1225,6 +1229,10 @@ public:
maybe_set(_player_http_server_port, port);
}
+ void set_relative_paths(bool relative) {
+ maybe_set(_relative_paths, relative);
+ }
+
void changed (Property p = OTHER);
boost::signals2::signal<void (Property)> Changed;
@@ -1465,6 +1473,7 @@ private:
int _isdcf_name_part_length;
bool _enable_player_http_server;
int _player_http_server_port;
+ bool _relative_paths;
#ifdef DCPOMATIC_GROK
boost::optional<Grok> _grok;