27#include <com/sun/star/frame/XDesktop2.hpp>
28#include <com/sun/star/task/XStatusIndicator.hpp>
29#include <com/sun/star/uno/Reference.h>
71 virtual int Main( )
override;
72 virtual void Init()
override;
74 virtual void DeInit()
override;
99 SAL_INFO(
"desktop.app",
"SetBootstrapError: " << nError <<
" '" << aMessage <<
"'");
142 const OUString& aFileURL );
174 const OUString& rName, std::optional< OUString >
const & cwdUrl );
DECL_STATIC_LINK(Desktop, AsyncInitFirstRun, Timer *, void)
DECL_STATIC_LINK(Desktop, EnableAcceptors_Impl, void *, void)
static bool CheckExtensionDependencies()
static void RemoveTemporaryDirectory()
static void DeregisterServices()
static void destroyAcceptor(const OUString &aDescription)
static void CheckOpenCLCompute(const css::uno::Reference< css::frame::XDesktop2 > &)
BootstrapError m_aBootstrapError
static void FlushConfiguration()
static void InitApplicationServiceManager()
static bool InitializeQuickstartMode(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
BootstrapStatus GetBootstrapStatus() const
virtual void InitFinished() override
DECL_LINK(OpenClients_Impl, void *, void)
virtual bool QueryExit() override
OUString m_aBootstrapErrorMessage
css::uno::Reference< css::task::XStatusIndicator > m_rSplashScreen
static void createAcceptor(const OUString &aDescription)
virtual void OverrideSystemSettings(AllSettings &rSettings) override
bool m_bCleanedExtensionCache
bool m_bServicesRegistered
static void HandleAppEvent(const ApplicationEvent &rAppEvent)
@ BE_USERINSTALL_NOWRITEACCESS
@ BE_UNO_SERVICE_CONFIG_MISSING
@ BE_USERINSTALL_NOTENOUGHDISKSPACE
static void SynchronizeExtensionRepositories(bool bCleanedExtensionCache, Desktop *pDesktop=nullptr)
static void OpenDefault()
static void OpenClients()
virtual void AppEvent(const ApplicationEvent &rAppEvent) override
void CheckFirstRun()
checks if the office is run the first time
void SetBootstrapError(BootstrapError nError, OUString const &aMessage)
static CommandLineArgs & GetCommandLineArgs()
DECL_STATIC_LINK(Desktop, ImplInitFilterHdl, ::ConvertData &, bool)
static void HandleBootstrapErrors(BootstrapError nError, OUString const &aMessage)
static void CreateTemporaryDirectory()
static OUString CreateErrorMsgString(utl::Bootstrap::FailureCode nFailureCode, const OUString &aFileURL)
virtual void Init() override
BootstrapStatus m_aBootstrapStatus
static bool InitializeConfiguration()
void SetSplashScreenText(const OUString &rText)
virtual void Exception(ExceptionCategory nCategory) override
virtual ~Desktop() override
std::thread m_aUpdateThread
static void ShowBackingComponent(Desktop *progress)
std::unique_ptr< Lockfile > m_xLockfile
void SetSplashScreenProgress(sal_Int32)
virtual void DeInit() override
virtual int Main() override
static void HandleBootstrapPathErrors(::utl::Bootstrap::Status, std::u16string_view aMsg)
virtual void Shutdown() override
void SetBootstrapStatus(BootstrapStatus nStatus)
#define SAL_INFO(area, stream)
OUString GetURL_Impl(const OUString &rName, std::optional< OUString > const &cwdUrl)
OUString ReplaceStringHookProc(const OUString &rStr)