20#ifndef INCLUDED_SHELL_SOURCE_UNIX_EXEC_SHELLEXEC_HXX
21#define INCLUDED_SHELL_SOURCE_UNIX_EXEC_SHELLEXEC_HXX
24#include <com/sun/star/lang/XServiceInfo.hpp>
25#include <com/sun/star/uno/XComponentContext.hpp>
27#include <com/sun/star/system/XSystemShellExecute.hpp>
32class ShellExec :
public ::cppu::WeakImplHelper< css::system::XSystemShellExecute, css::lang::XServiceInfo >
34 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
37 explicit ShellExec(
const css::uno::Reference< css::uno::XComponentContext >& xContext);
43 virtual void SAL_CALL
execute(
const OUString& aCommand,
const OUString& aParameter, sal_Int32 nFlags )
override;
ShellExec(const css::uno::Reference< css::uno::XComponentContext > &xContext)
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
css::uno::Reference< css::uno::XComponentContext > m_xContext
virtual void SAL_CALL execute(const OUString &aCommand, const OUString &aParameter, sal_Int32 nFlags) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override