11#ifndef __WXWIDGETS_BASIC_UI__
12#define __WXWIDGETS_BASIC_UI__
35 std::unique_ptr<BasicUI::ProgressDialog>
40 std::unique_ptr<BasicUI::GenericProgressDialog>
53 std::unique_ptr<BasicUI::WindowPlacement>
DoFindFocus()
override;
Toolkit-neutral facade for basic user interface services.
std::vector< TranslatableString > TranslatableStrings
Abstract class defines a few user interface services, not mentioning particular toolkits.
virtual std::unique_ptr< WindowPlacement > DoFindFocus()=0
virtual void DoShowErrorDialog(const WindowPlacement &placement, const TranslatableString &dlogTitle, const TranslatableString &message, const ManualPageID &helpPage, const ErrorDialogOptions &options)=0
virtual void DoSetFocus(const WindowPlacement &focus)=0
virtual std::unique_ptr< GenericProgressDialog > DoMakeGenericProgress(const WindowPlacement &placement, const TranslatableString &title, const TranslatableString &message, int style)=0
virtual bool IsUsingRtlLayout() const =0
virtual std::unique_ptr< ProgressDialog > DoMakeProgress(const TranslatableString &title, const TranslatableString &message, unsigned flag, const TranslatableString &remainingLabelText)=0
virtual MessageBoxResult DoMessageBox(const TranslatableString &message, MessageBoxOptions options)=0
virtual int DoMultiDialog(const TranslatableString &message, const TranslatableString &title, const TranslatableStrings &buttons, const ManualPageID &helpPage, const TranslatableString &boxMsg, bool log)=0
virtual void DoCallAfter(const Action &action)=0
virtual bool DoOpenInDefaultBrowser(const wxString &url)=0
virtual bool IsUiThread() const =0
Subclasses may hold information such as a parent window pointer for a dialog.
Holds a msgid for the translation catalog; may also bind format arguments.
std::function< void()> Action
Options for variations of error dialogs; the default is for modal dialogs.