LibreOffice Module unotools (master) 1
|
#include <sal/config.h>
#include <string_view>
#include <config_folders.h>
#include <unotools/bootstrap.hxx>
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <osl/file.hxx>
#include <osl/diagnose.h>
#include <rtl/bootstrap.hxx>
#include <osl/process.h>
Go to the source code of this file.
Classes | |
class | utl::Bootstrap::Impl |
struct | utl::Bootstrap::Impl::PathData |
Namespaces | |
namespace | utl |
Macros | |
#define | RTL_BOOTSTRAP_DEFAULTS_BROKEN true |
Typedefs | |
typedef char const * | AsciiString |
typedef Bootstrap::PathStatus | utl::PathStatus |
Functions | |
static OUString | utl::makeImplName () |
static PathStatus | utl::implCheckStatusOfURL (OUString const &_sURL, osl::DirectoryItem &aDirItem) |
static bool | utl::implNormalizeURL (OUString &_sURL, osl::DirectoryItem &aDirItem) |
static bool | utl::implEnsureAbsolute (OUString &_rsURL) |
static bool | utl::implMakeAbsoluteURL (OUString &_rsPathOrURL) |
static PathStatus | utl::dbgCheckStatusOfURL (OUString const &_sURL) |
static PathStatus | utl::checkStatusAndNormalizeURL (OUString &_sURL) |
static PathStatus | utl::getDerivedPath (OUString &_rURL, OUString const &_aBaseURL, PathStatus _aBaseStatus, std::u16string_view _sRelativeURL, rtl::Bootstrap const &_rData, OUString const &_sBootstrapParameter) |
static PathStatus | utl::getDerivedPath (OUString &_rURL, Bootstrap::Impl::PathData const &_aBaseData, std::u16string_view _sRelativeURL, rtl::Bootstrap const &_rData, OUString const &_sBootstrapParameter) |
static OUString | utl::getExecutableBaseName () |
static Bootstrap::PathStatus | utl::updateStatus (Bootstrap::Impl::PathData &_rResult) |
static Bootstrap::PathStatus | utl::implGetBootstrapFile (rtl::Bootstrap const &_rData, Bootstrap::Impl::PathData &_rBootstrapFile) |
static Bootstrap::PathStatus | utl::implGetVersionFile (rtl::Bootstrap const &_rData, Bootstrap::Impl::PathData &_rVersionFile) |
static void | utl::addFileError (OUStringBuffer &_rBuf, std::u16string_view _aPath, AsciiString _sWhat) |
static void | utl::addMissingDirectoryError (OUStringBuffer &_rBuf, std::u16string_view _aPath) |
static void | utl::addUnexpectedError (OUStringBuffer &_rBuf, AsciiString _sExtraInfo=nullptr) |
static Bootstrap::FailureCode | utl::describeError (OUStringBuffer &_rBuf, Bootstrap::Impl const &_rData) |
Variables | |
constexpr OUStringLiteral | BOOTSTRAP_ITEM_PRODUCT_KEY = u"ProductKey" |
constexpr OUStringLiteral | BOOTSTRAP_ITEM_VERSIONFILE = u"Location" |
constexpr OUStringLiteral | BOOTSTRAP_ITEM_BUILDID = u"buildid" |
constexpr OUStringLiteral | BOOTSTRAP_ITEM_BASEINSTALLATION = u"BRAND_BASE_DIR" |
constexpr OUStringLiteral | BOOTSTRAP_ITEM_USERINSTALLATION = u"UserInstallation" |
constexpr OUStringLiteral | BOOTSTRAP_ITEM_USERDIR = u"UserDataDir" |
constexpr OUStringLiteral | BOOTSTRAP_DEFAULT_BASEINSTALL = u"$SYSBINDIR/.." |
constexpr OUStringLiteral | BOOTSTRAP_DIRNAME_USERDIR = u"user" |
sal_Unicode const | utl::cURLSeparator = '/' |
char const | utl::IS_MISSING [] = "is missing" |
char const | utl::IS_INVALID [] = "is corrupt" |
char const | utl::PERIOD [] = ". " |
#define RTL_BOOTSTRAP_DEFAULTS_BROKEN true |
Definition at line 38 of file bootstrap.cxx.
typedef char const* AsciiString |
Definition at line 53 of file bootstrap.cxx.
|
constexpr |
Definition at line 49 of file bootstrap.cxx.
Referenced by utl::Bootstrap::Impl::initBaseInstallationData().
|
constexpr |
Definition at line 51 of file bootstrap.cxx.
Referenced by utl::Bootstrap::Impl::initUserInstallationData(), and utl::Bootstrap::locateUserData().
|
constexpr |
Definition at line 44 of file bootstrap.cxx.
Referenced by utl::Bootstrap::Impl::initBaseInstallationData().
|
constexpr |
Definition at line 42 of file bootstrap.cxx.
Referenced by utl::Bootstrap::getBuildIdData().
|
constexpr |
Definition at line 40 of file bootstrap.cxx.
Referenced by utl::Bootstrap::getProductKey().
|
constexpr |
Definition at line 47 of file bootstrap.cxx.
Referenced by utl::Bootstrap::Impl::initUserInstallationData(), and utl::Bootstrap::locateUserData().
|
constexpr |
Definition at line 45 of file bootstrap.cxx.
Referenced by utl::Bootstrap::Impl::initUserInstallationData().
|
constexpr |
Definition at line 41 of file bootstrap.cxx.
Referenced by utl::implGetVersionFile().