LibreOffice Module desktop (master) 1
Namespaces | Functions | Variables
dp_misc.h File Reference
#include <sal/config.h>
#include <string_view>
#include <osl/process.h>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <dp_misc_api.hxx>
Include dependency graph for dp_misc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  dp_misc
 

Functions

void dp_misc::try_dispose (css::uno::Reference< css::uno::XInterface > const &x)
 
OUString dp_misc::expandUnoRcTerm (OUString const &term_)
 
OUString dp_misc::makeRcTerm (OUString const &url)
 
OUString dp_misc::expandUnoRcUrl (OUString const &url)
 
OUString dp_misc::makeURL (std::u16string_view baseURL, OUString const &relPath)
 appends a relative path to a url. More...
 
OUString dp_misc::makeURLAppendSysPathSegment (std::u16string_view baseURL, OUString const &relPath)
 appends a relative path to a url. More...
 
OUString dp_misc::generateRandomPipeId ()
 
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC css::uno::Reference< css::uno::XInterface > dp_misc::resolveUnoURL (OUString const &connectString, css::uno::Reference< css::uno::XComponentContext > const &xLocalContext, AbortChannel const *abortChannel=nullptr)
 
bool dp_misc::office_is_running ()
 
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC oslProcess dp_misc::raiseProcess (OUString const &appURL, css::uno::Sequence< OUString > const &args)
 
void dp_misc::writeConsole (std::u16string_view sText)
 writes the argument string to the console. More...
 
void dp_misc::writeConsoleError (std::u16string_view sText)
 writes the argument to the console using the error stream. More...
 
OUString dp_misc::readConsole ()
 reads from the console. More...
 
void dp_misc::TRACE (OUString const &sText)
 print the text to the console in a debug build. More...
 
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC void dp_misc::syncRepositories (bool force, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv)
 registers or revokes shared or bundled extensions which have been recently added or removed. More...
 
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC void dp_misc::disposeBridges (css::uno::Reference< css::uno::XComponentContext > const &ctx)
 workaround: for some reason the bridge threads which communicate with the uno.exe process are not released on time More...
 

Variables

const char dp_misc::CR = 0x0d
 
const char dp_misc::LF = 0x0a