22#include <com/sun/star/ui/dialogs/XAsynchronousExecutableDialog.hpp>
27using namespace css::uno;
32 css::ui::dialogs::XAsynchronousExecutableDialog>
68 const css::uno::Reference<css::ui::dialogs::XDialogClosedListener>& xListener)
override
76 throw RuntimeException(
"already executing the dialog (recursive call)", *
this);
81 OSL_ENSURE(
m_xAsyncDialog,
"OGenericUnoAsyncDialog::startExecuteModal: "
82 "createAsyncDialog returned nonsense!");
87 if (!m_bTitleAmbiguous)
98 virtual std::shared_ptr<T>
112 runAsync(
const css::uno::Reference<css::ui::dialogs::XDialogClosedListener>& )
UnoAsyncDialogEntryGuard(OGenericUnoAsyncDialog< T > &_rDialog)
::osl::MutexGuard m_aGuard
abstract base class for implementing UNO objects representing asynchronous dialogs
void destroyAsyncDialog()
virtual std::shared_ptr< T > createAsyncDialog(const css::uno::Reference< css::awt::XWindow > &)
std::shared_ptr< T > m_xAsyncDialog
OGenericUnoAsyncDialog(const css::uno::Reference< css::uno::XComponentContext > &_rxContext)
virtual void SAL_CALL startExecuteModal(const css::uno::Reference< css::ui::dialogs::XDialogClosedListener > &xListener) override
void SAL_CALL setDialogTitle(const OUString &aTitle) override
virtual void executedAsyncDialog(std::shared_ptr< T >, sal_Int32)
virtual void runAsync(const css::uno::Reference< css::ui::dialogs::XDialogClosedListener > &)
abstract base class for implementing UNO objects representing dialogs (com.sun.star....
virtual void SAL_CALL setTitle(const OUString &aTitle) override
cppu::ImplInheritanceHelper<::svt::OGenericUnoDialog, css::ui::dialogs::XAsynchronousExecutableDialog > OGenericUnoAsyncDialogBase