26#include <osl/process.h>
27#include <com/sun/star/uno/XComponentContext.hpp>
28#include <com/sun/star/lang/XComponent.hpp>
29#include <com/sun/star/ucb/XCommandEnvironment.hpp>
38inline void try_dispose( css::uno::Reference< css::uno::XInterface>
const & x )
40 css::uno::Reference< css::lang::XComponent> xComp(
x, css::uno::UNO_QUERY );
67 std::u16string_view baseURL, OUString
const & relPath );
76 std::u16string_view baseURL, OUString
const & relPath );
85 OUString
const & connectString,
86 css::uno::Reference< css::uno::XComponentContext>
const & xLocalContext,
87 AbortChannel
const * abortChannel =
nullptr );
95 css::uno::Sequence< OUString >
const & args );
126void TRACE(OUString
const & sText);
135 css::ucb::XCommandEnvironment>
const & xCmdEnv);
142 css::uno::Reference< css::uno::XComponentContext >
#define DESKTOP_DEPLOYMENTMISC_DLLPUBLIC
OUString makeURL(std::u16string_view baseURL, OUString const &relPath_)
appends a relative path to a url.
void syncRepositories(bool force, Reference< ucb::XCommandEnvironment > const &xCmdEnv)
OUString makeRcTerm(OUString const &url)
OUString expandUnoRcUrl(OUString const &url)
OUString readConsole()
reads from the console.
void try_dispose(css::uno::Reference< css::uno::XInterface > const &x)
void writeConsoleError(std::u16string_view sText)
writes the argument to the console using the error stream.
void TRACE(OUString const &sText)
print the text to the console in a debug build.
Reference< XInterface > resolveUnoURL(OUString const &connectString, Reference< XComponentContext > const &xLocalContext, AbortChannel const *abortChannel)
OUString generateRandomPipeId()
OUString expandUnoRcTerm(OUString const &term_)
void writeConsole(std::u16string_view sText)
writes the argument string to the console.
oslProcess raiseProcess(OUString const &appURL, Sequence< OUString > const &args)
void disposeBridges(Reference< css::uno::XComponentContext > const &ctx)
OUString makeURLAppendSysPathSegment(std::u16string_view baseURL, OUString const &segment)
appends a relative path to a url.