bump product version to 4.1.6.2
[LibreOffice.git] / include / svtools / restartdialog.hxx
blobd74d6d3e863f0d52df74c2d770a3ba4ebc9a29fe
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #ifndef INCLUDED_SVTOOLS_RESTARTDIALOG_HXX
11 #define INCLUDED_SVTOOLS_RESTARTDIALOG_HXX
13 #include "sal/config.h"
15 #include "com/sun/star/uno/Reference.hxx"
16 #include "svtools/svtdllapi.h"
18 class Window;
19 namespace com { namespace sun { namespace star { namespace uno {
20 class XComponentContext;
21 } } } }
23 namespace svtools {
25 enum RestartReason {
26 RESTART_REASON_JAVA,
27 // "For the selected Java runtime environment to work properly,
28 // %PRODUCTNAME must be restarted."
29 RESTART_REASON_PDF_AS_STANDARD_JOB_FORMAT,
30 // For the modified default print job format to take effect,
31 // %PRODUCTNAME must be restarted.
32 RESTART_REASON_BIBLIOGRAPHY_INSTALL,
33 // "For the bibliography to work properly,
34 // %PRODUCTNAME must be restarted."
35 RESTART_REASON_MODIFIED_SIDEBAR
36 // "For the sidebar to work properly,
37 // %PRODUCTNAME must be restarted."
40 // Must be called with the solar mutex locked:
41 SVT_DLLPUBLIC void executeRestartDialog(
42 com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >
43 const & context,
44 Window * parent, RestartReason reason);
48 #endif
50 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */