Move some stuff into DownloadCertificatePanel; add name().
[dcpomatic.git] / src / wx / download_certificate_panel.h
index 6308e49b708fb625ee8ca421f64fa5b1002658f1..258d5ab25372c5a6cdc724797b82596334f27be8 100644 (file)
@@ -35,8 +35,10 @@ public:
        /* Do any setup that may take a noticeable amount of time */
        virtual void setup () {}
        virtual bool ready_to_download () const = 0;
-       virtual void download (wxStaticText* message) = 0;
+       virtual void do_download (wxStaticText* message) = 0;
+       virtual wxString name () const = 0;
 
+       void download (wxStaticText* message);
        void load (boost::filesystem::path);
        boost::optional<dcp::Certificate> certificate () const;