11#include <com/sun/star/frame/XSynchronousDispatch.hpp>
12#include <com/sun/star/lang/XServiceInfo.hpp>
22class SafeModeUI :
public ::cppu::WeakImplHelper< css::lang::XServiceInfo,
23 css::frame::XSynchronousDispatch >
36 virtual css::uno::Any SAL_CALL dispatchWithReturnValue(
const css::util::URL& aURL,
37 const css::uno::Sequence< css::beans::PropertyValue >& lArguments )
override;
40SafeModeUI::SafeModeUI()
44OUString SAL_CALL SafeModeUI::getImplementationName()
46 return "com.sun.star.comp.svx.SafeModeUI";
49sal_Bool SAL_CALL SafeModeUI::supportsService(
const OUString& sServiceName)
54css::uno::Sequence< OUString > SAL_CALL SafeModeUI::getSupportedServiceNames()
56 return {
"com.sun.star.dialog.SafeModeUI" };
59css::uno::Any SAL_CALL SafeModeUI::dispatchWithReturnValue(
const css::util::URL&,
60 const css::uno::Sequence< css::beans::PropertyValue >& )
71extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface *
73 css::uno::XComponentContext * ,
74 css::uno::Sequence<css::uno::Any>
const &)
76 return cppu::acquire(
new SafeModeUI);
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_svx_SafeModeUI_get_implementation(css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)
static weld::Window * GetDefDialogParent()
css::uno::Sequence< OUString > getSupportedServiceNames()
OUString getImplementationName()
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)