LibreOffice Module svtools (master) 1
restartdialog.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#pragma once
11
12#include <sal/config.h>
13
14#include <svtools/svtdllapi.h>
15
16namespace com :: sun :: star :: uno { template <typename > class Reference; }
17
18namespace weld { class Window; }
19namespace com::sun::star::uno {
20 class XComponentContext;
21}
22
23namespace svtools {
24
26 // "For the selected Java runtime environment to work properly,
27 // %PRODUCTNAME must be restarted.":
29 // "For the bibliography to work properly,
30 // %PRODUCTNAME must be restarted.":
32 // "For the mail merge to work properly,
33 // %PRODUCTNAME must be restarted.":
35 // "For the updated language settings to take effect,
36 // %PRODUCTNAME must be restarted.":
38 // "For the added path to take effect,
39 // %PRODUCTNAME must be restarted.":
41 // "For the assigned java parameters to take effect,
42 // %PRODUCTNAME must be restarted.":
44 // "For the assigned folders and archives to take effect,
45 // %PRODUCTNAME must be restarted.":
47 // "For the modified experimental features to take effect,
48 // %PRODUCTNAME must be restarted.":
50 // "For the extension to work properly,
51 // %PRODUCTNAME must be restarted.":
53 // For the Skia changes to take effect,
54 // %PRODUCTNAME must be restarted:
56 // For the OpenCL changes to take effect,
57 // %PRODUCTNAME must be restarted:
59 // For the multi-threaded calculation changes to take effect,
60 // %PRODUCTNAME must be restarted:
62 // For restructuring the Form menu,
63 // %PRODUCTNAME must be restarted:
65 // To apply changes, %PRODUCTNAME,
66 // %PRODUCTNAME must be restarted:
68 // No particular reason:
70};
71
72// Must be called with the solar mutex locked; returns if restart was initiated:
74 css::uno::Reference< css::uno::XComponentContext > const & context,
75 weld::Window* parent, RestartReason reason);
76
77}
78
79/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Reference
@ RESTART_REASON_UI_CHANGE
@ RESTART_REASON_JAVA
@ RESTART_REASON_MSCOMPATIBLE_FORMS_MENU
@ RESTART_REASON_LANGUAGE_CHANGE
@ RESTART_REASON_OPENCL
@ RESTART_REASON_ADDING_PATH
@ RESTART_REASON_MAILMERGE_INSTALL
@ RESTART_REASON_THREADING
@ RESTART_REASON_ASSIGNING_JAVAPARAMETERS
@ RESTART_REASON_SKIA
@ RESTART_REASON_EXP_FEATURES
@ RESTART_REASON_NONE
@ RESTART_REASON_EXTENSION_INSTALL
@ RESTART_REASON_BIBLIOGRAPHY_INSTALL
@ RESTART_REASON_ASSIGNING_FOLDERS
SVT_DLLPUBLIC bool executeRestartDialog(css::uno::Reference< css::uno::XComponentContext > const &context, weld::Window *parent, RestartReason reason)
#define SVT_DLLPUBLIC
Definition: svtdllapi.h:27