Emit no audio from DCPs if none is mapped
[dcpomatic.git] / src / wx / download_certificate_panel.h
index 25271c7701dbb21ab26be7087f9c8bc23520e89f..cfa70241ffa2be5c062daa08be8094c8e4a04b09 100644 (file)
 #define DCPOMATIC_DOWNLOAD_CERTIFICATE_PANEL_H
 
 
-#include "lib/warnings.h"
+#include <dcp/warnings.h>
 #include <dcp/certificate.h>
-DCPOMATIC_DISABLE_WARNINGS
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_ENABLE_WARNINGS
 #include <boost/optional.hpp>
 
 
@@ -44,9 +44,10 @@ public:
        virtual bool ready_to_download () const;
 
        void download ();
-       boost::optional<std::string> load_certificate (boost::filesystem::path);
-       boost::optional<std::string> load_certificate_from_chain (boost::filesystem::path);
+       boost::optional<std::string> load_certificate (boost::filesystem::path, std::string url);
+       boost::optional<std::string> load_certificate_from_chain (boost::filesystem::path, std::string url);
        boost::optional<dcp::Certificate> certificate () const;
+       boost::optional<std::string> url () const;
 
 protected:
        DownloadCertificateDialog* _dialog;
@@ -56,6 +57,7 @@ protected:
 
 private:
        boost::optional<dcp::Certificate> _certificate;
+       boost::optional<std::string> _url;
 };