X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fwx_util.h;h=400493f1883203a223be2745811e890af42c70a4;hb=f77529bdfa01ae13f889442900988fc401b63c62;hp=1acca044a6fd815445de113955f4c88e373db4fb;hpb=e571e208d540a5bb6dafa49a8e91cb0428931abb;p=dcpomatic.git diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h index 1acca044a..400493f18 100644 --- a/src/wx/wx_util.h +++ b/src/wx/wx_util.h @@ -41,6 +41,7 @@ class wxSpinCtrl; class wxSpinCtrlDouble; class wxGridBagSizer; class wxSplashScreen; +class PasswordEntry; #define DCPOMATIC_SIZER_X_GAP 8 #define DCPOMATIC_SIZER_Y_GAP 8 @@ -58,7 +59,7 @@ class wxSplashScreen; #define DCPOMATIC_RTAUDIO_API RtAudio::LINUX_PULSE #endif #ifdef DCPOMATIC_WINDOWS -#define DCPOMATIC_RTAUDIO_API RtAudio::WINDOWS_DS +#define DCPOMATIC_RTAUDIO_API RtAudio::UNSPECIFIED #endif #ifdef DCPOMATIC_OSX #define DCPOMATIC_RTAUDIO_API RtAudio::MACOSX_CORE @@ -83,11 +84,12 @@ extern wxString std_to_wx (std::string); extern void dcpomatic_setup_i18n (); extern wxString context_translation (wxString); extern std::string string_client_data (wxClientData* o); -extern wxString time_to_timecode (DCPTime t, double fps); +extern wxString time_to_timecode (dcpomatic::DCPTime t, double fps); extern void setup_audio_channels_choice (wxChoice* choice, int minimum); extern wxSplashScreen* maybe_show_splash (); -extern boost::filesystem::path path_from_file_dialog (wxFileDialog* dialog, std::string extension); extern double calculate_mark_interval (double start); +extern bool display_progress (wxString title, wxString task); +extern bool report_errors_from_last_job (wxWindow* parent); extern void checked_set (FilePickerCtrl* widget, boost::filesystem::path value); extern void checked_set (wxDirPickerCtrl* widget, boost::filesystem::path value); @@ -98,6 +100,7 @@ extern void checked_set (wxChoice* widget, std::string value); extern void checked_set (wxChoice* widget, std::vector > items); extern void checked_set (wxTextCtrl* widget, std::string value); extern void checked_set (wxTextCtrl* widget, wxString value); +extern void checked_set (PasswordEntry* widget, std::string value); extern void checked_set (wxCheckBox* widget, bool value); extern void checked_set (wxRadioButton* widget, bool value); extern void checked_set (wxStaticText* widget, std::string value);