LibreOffice Module desktop (master)  1
Classes | Namespaces | Functions | Variables
dp_misc.h File Reference
#include <rtl/ustrbuf.hxx>
#include <rtl/instance.hxx>
#include <osl/mutex.hxx>
#include <osl/process.h>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/deployment/XPackageRegistry.hpp>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <com/sun/star/awt/XWindow.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.

Classes

class  dp_misc::MutexHolder
 

Namespaces

 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 (OUString const &baseURL, OUString const &relPath)
 appends a relative path to a url. More...
 
OUString dp_misc::makeURLAppendSysPathSegment (OUString const &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 (OUString const &sText)
 writes the argument string to the console. More...
 
void dp_misc::writeConsoleError (OUString const &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 sal_Char dp_misc::CR = 0x0d
 
const sal_Char dp_misc::LF = 0x0a