X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fconfig.h;h=378272ff0a84159cdc524870d6dfb246e0e165ae;hp=2ebfef84d5a9d8a7c196cb04ca57e7b8919ae979;hb=39a7a8be0bdb499423f96aa23ed3bffdc7d6c912;hpb=2d48fee30e323dfea9cc331f881637d91ee0895a 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 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 _player_kdm_directory; #ifdef DCPOMATIC_VARIANT_SWAROOP boost::optional _player_background_image; + std::string _kdm_server_url; #endif static int const _current_version;