22#include <osl/process.h>
25#include <com/sun/star/uno/XComponentContext.hpp>
38 SAL_INFO(
"desktop.splash",
"UnxSplashScreen::~UnxSplashScreen()");
52 SAL_INFO(
"desktop.splash",
"UnxSplashScreen::end()");
62 SAL_INFO(
"desktop.splash",
"UNXSplashScreen::reset()");
88 for ( sal_uInt32
i = 0;
i < osl_getCommandArgCount();
i++ )
91 osl_getCommandArg(
i, &aArg.pData );
93 if ( aArg.startsWithIgnoreAsciiCase(
"--splash-pipe=", &aNum) )
95 auto fd = aNum.toUInt32();
97 SAL_INFO(
"desktop.splash",
"Got argument '--splash-pipe=" << fd <<
" ('"
99 <<
static_cast<void *
>(
m_pOutFd) <<
")");
106 return "com.sun.star.office.comp.PipeSplashScreen";
116 return {
"com.sun.star.office.PipeSplashScreen" };
121extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
123 css::uno::XComponentContext* , css::uno::Sequence<css::uno::Any>
const&)
virtual void SAL_CALL reset() override
virtual void SAL_CALL setValue(sal_Int32 nValue) override
virtual void SAL_CALL end() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) override
virtual void SAL_CALL setText(const OUString &aText) override
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Bool SAL_CALL supportsService(OUString const &ServiceName) override
virtual ~UnxSplashScreen() override
virtual void SAL_CALL start(const OUString &aText, sal_Int32 nRange) override
#define SAL_INFO(area, stream)
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * desktop_UnxSplash_get_implementation(css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)