#include <wx/splash.h>
#include <wx/cmdline.h>
#include <wx/preferences.h>
+#include <wx/progdlg.h>
#ifdef __WXOSX__
#include <ApplicationServices/ApplicationServices.h>
#endif
JobManager* jm = JobManager::instance ();
+ wxProgressDialog* progress = new wxProgressDialog (_("DCP-o-matic Player"), _("Loading DCP"));
+
while (jm->work_to_do() || signal_manager->ui_idle()) {
- /* XXX: progress dialog */
dcpomatic_sleep (1);
+ progress->Pulse ();
}
+ progress->Destroy ();
+
DCPOMATIC_ASSERT (!jm->get().empty());
shared_ptr<Job> last = jm->get().back();