summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-26 23:18:51 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-26 23:18:51 +0100
commit39a7a8be0bdb499423f96aa23ed3bffdc7d6c912 (patch)
tree847ea6e5b055f94e33bcc0a91ad4ba4d29a81d8a /src/lib/config.h
parent2d48fee30e323dfea9cc331f881637d91ee0895a (diff)
Support download of KDMs from a web service in swaroop profile.v2.13.56
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 2ebfef84d..378272ff0 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -497,6 +497,10 @@ public:
boost::optional<boost::filesystem::path> player_background_image () const {
return _player_background_image;
}
+
+ std::string kdm_server_url () const {
+ return _kdm_server_url;
+ }
#endif
/* SET (mostly) */
@@ -957,6 +961,10 @@ public:
_player_background_image = boost::none;
changed (PLAYER_BACKGROUND_IMAGE);
}
+
+ void set_kdm_server_url (std::string s) {
+ maybe_set (_kdm_server_url, s);
+ }
#endif
void changed (Property p = OTHER);
@@ -1153,6 +1161,7 @@ private:
boost::optional<boost::filesystem::path> _player_kdm_directory;
#ifdef DCPOMATIC_VARIANT_SWAROOP
boost::optional<boost::filesystem::path> _player_background_image;
+ std::string _kdm_server_url;
#endif
static int const _current_version;