LibreOffice Module svtools (master)
1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
Functions
a
d
e
g
i
l
o
s
u
w
Variables
Typedefs
Enumerations
Enumerator
a
b
c
d
f
g
h
l
o
q
r
s
t
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
_
a
b
c
d
e
h
l
m
n
o
p
s
t
u
w
x
Typedefs
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
c
d
f
g
i
l
m
o
s
t
u
Variables
a
b
c
d
e
f
g
h
j
m
n
p
r
s
t
w
x
Typedefs
Enumerations
Enumerator
r
s
t
v
Macros
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Examples
include
svtools
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
16
namespace
com
:: sun :: star ::
uno
{
template
<
typename
>
class
Reference
; }
17
18
namespace
weld
{
class
Window
; }
19
namespace
com::sun::star::uno
{
20
class
XComponentContext;
21
}
22
23
namespace
svtools
{
24
25
enum
RestartReason
{
26
// "For the selected Java runtime environment to work properly,
27
// %PRODUCTNAME must be restarted.":
28
RESTART_REASON_JAVA
,
29
// "For the bibliography to work properly,
30
// %PRODUCTNAME must be restarted.":
31
RESTART_REASON_BIBLIOGRAPHY_INSTALL
,
32
// "For the mail merge to work properly,
33
// %PRODUCTNAME must be restarted.":
34
RESTART_REASON_MAILMERGE_INSTALL
,
35
// "For the updated language settings to take effect,
36
// %PRODUCTNAME must be restarted.":
37
RESTART_REASON_LANGUAGE_CHANGE
,
38
// "For the added path to take effect,
39
// %PRODUCTNAME must be restarted.":
40
RESTART_REASON_ADDING_PATH
,
41
// "For the assigned java parameters to take effect,
42
// %PRODUCTNAME must be restarted.":
43
RESTART_REASON_ASSIGNING_JAVAPARAMETERS
,
44
// "For the assigned folders and archives to take effect,
45
// %PRODUCTNAME must be restarted.":
46
RESTART_REASON_ASSIGNING_FOLDERS
,
47
// "For the modified experimental features to take effect,
48
// %PRODUCTNAME must be restarted.":
49
RESTART_REASON_EXP_FEATURES
,
50
// "For the extension to work properly,
51
// %PRODUCTNAME must be restarted.":
52
RESTART_REASON_EXTENSION_INSTALL
,
53
// For the Skia changes to take effect,
54
// %PRODUCTNAME must be restarted:
55
RESTART_REASON_SKIA
,
56
// For the OpenCL changes to take effect,
57
// %PRODUCTNAME must be restarted:
58
RESTART_REASON_OPENCL
,
59
// For the multi-threaded calculation changes to take effect,
60
// %PRODUCTNAME must be restarted:
61
RESTART_REASON_THREADING
,
62
// For restructuring the Form menu,
63
// %PRODUCTNAME must be restarted:
64
RESTART_REASON_MSCOMPATIBLE_FORMS_MENU
,
65
// To apply changes, %PRODUCTNAME,
66
// %PRODUCTNAME must be restarted:
67
RESTART_REASON_UI_CHANGE
,
68
// No particular reason:
69
RESTART_REASON_NONE
70
};
71
72
// Must be called with the solar mutex locked; returns if restart was initiated:
73
SVT_DLLPUBLIC
bool
executeRestartDialog
(
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: */
weld::Window
config.h
com::sun::star::uno
com
Reference
Reference
svtools
svtools::RestartReason
RestartReason
Definition:
restartdialog.hxx:25
svtools::RESTART_REASON_UI_CHANGE
@ RESTART_REASON_UI_CHANGE
Definition:
restartdialog.hxx:67
svtools::RESTART_REASON_JAVA
@ RESTART_REASON_JAVA
Definition:
restartdialog.hxx:28
svtools::RESTART_REASON_MSCOMPATIBLE_FORMS_MENU
@ RESTART_REASON_MSCOMPATIBLE_FORMS_MENU
Definition:
restartdialog.hxx:64
svtools::RESTART_REASON_LANGUAGE_CHANGE
@ RESTART_REASON_LANGUAGE_CHANGE
Definition:
restartdialog.hxx:37
svtools::RESTART_REASON_OPENCL
@ RESTART_REASON_OPENCL
Definition:
restartdialog.hxx:58
svtools::RESTART_REASON_ADDING_PATH
@ RESTART_REASON_ADDING_PATH
Definition:
restartdialog.hxx:40
svtools::RESTART_REASON_MAILMERGE_INSTALL
@ RESTART_REASON_MAILMERGE_INSTALL
Definition:
restartdialog.hxx:34
svtools::RESTART_REASON_THREADING
@ RESTART_REASON_THREADING
Definition:
restartdialog.hxx:61
svtools::RESTART_REASON_ASSIGNING_JAVAPARAMETERS
@ RESTART_REASON_ASSIGNING_JAVAPARAMETERS
Definition:
restartdialog.hxx:43
svtools::RESTART_REASON_SKIA
@ RESTART_REASON_SKIA
Definition:
restartdialog.hxx:55
svtools::RESTART_REASON_EXP_FEATURES
@ RESTART_REASON_EXP_FEATURES
Definition:
restartdialog.hxx:49
svtools::RESTART_REASON_NONE
@ RESTART_REASON_NONE
Definition:
restartdialog.hxx:69
svtools::RESTART_REASON_EXTENSION_INSTALL
@ RESTART_REASON_EXTENSION_INSTALL
Definition:
restartdialog.hxx:52
svtools::RESTART_REASON_BIBLIOGRAPHY_INSTALL
@ RESTART_REASON_BIBLIOGRAPHY_INSTALL
Definition:
restartdialog.hxx:31
svtools::RESTART_REASON_ASSIGNING_FOLDERS
@ RESTART_REASON_ASSIGNING_FOLDERS
Definition:
restartdialog.hxx:46
svtools::executeRestartDialog
SVT_DLLPUBLIC bool executeRestartDialog(css::uno::Reference< css::uno::XComponentContext > const &context, weld::Window *parent, RestartReason reason)
Definition:
restartdialog.cxx:102
uno
weld
svtdllapi.h
SVT_DLLPUBLIC
#define SVT_DLLPUBLIC
Definition:
svtdllapi.h:27
EViewType::Window
@ Window
Generated on Sun Jul 30 2023 04:42:51 for LibreOffice Module svtools (master) by
1.9.3