LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / include / vcl / dialoghelper.hxx
blob549188e00214bab6bcdb16235b0241b57bd97cd3
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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 #include <vcl/dllapi.h>
12 namespace vcl
14 class Window;
16 /* cancel dialogs that are a child of pParent
17 this is used by com.sun.star.embed.DocumentCloser which itself is only used by
18 extensions/source/activex/SOActiveX.cxx see extensions/source/activex/README.txt
19 possibly dubious if this actually works as expected
22 VCL_DLLPUBLIC void EndAllDialogs(vcl::Window const* pParent);
24 /* for LibreOffice kit */
25 VCL_DLLPUBLIC void EnableDialogInput(vcl::Window* pDialog);
26 VCL_DLLPUBLIC void CloseTopLevel(vcl::Window* pDialog);
27 /// Pre-loads all modules containing UI information
28 VCL_DLLPUBLIC void VclBuilderPreload();
31 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */