#include "isdcf_metadata.h"
#include "types.h"
#include <dcp/certificate_chain.h>
+#include <dcp/encrypted_kdm.h>
#include <boost/shared_ptr.hpp>
#include <boost/signals2.hpp>
#include <boost/filesystem.hpp>
return _history;
}
+ std::vector<dcp::EncryptedKDM> dkdms () const {
+ return _dkdms;
+ }
+
/** @param n New number of local encoding threads */
void set_num_local_encoding_threads (int n) {
maybe_set (_num_local_encoding_threads, n);
}
#endif
+ void set_dkdms (std::vector<dcp::EncryptedKDM> dkdms)
+ {
+ _dkdms = dkdms;
+ changed ();
+ }
+
void clear_history () {
_history.clear ();
changed ();
/** default directory to put new films in */
boost::filesystem::path _default_directory;
/** base port number to use for J2K encoding servers;
- * this port and the one above it will be used.
+ * this port and the two above it will be used.
*/
int _server_port_base;
/** true to broadcast on the `any' address to look for servers */
bool _win32_console;
#endif
std::vector<boost::filesystem::path> _history;
+ std::vector<dcp::EncryptedKDM> _dkdms;
/** Singleton instance, or 0 */
static Config* _instance;