Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / svx / source / dialog / crashreportdlg.hxx
blob3f2d9cb121c57627ecb8e50ad88c42afead0e87b
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_SVX_SOURCE_DIALOG_CRASHREPORTDLG_HXX
11 #define INCLUDED_SVX_SOURCE_DIALOG_CRASHREPORTDLG_HXX
13 #include <vcl/weld.hxx>
15 class CrashReportDialog : public weld::GenericDialogController
17 public:
18 explicit CrashReportDialog(weld::Window* pParent);
19 virtual short run() override;
20 virtual ~CrashReportDialog() override;
22 private:
23 std::unique_ptr<weld::Button> mxBtnSend;
24 std::unique_ptr<weld::Button> mxBtnCancel;
25 std::unique_ptr<weld::Button> mxBtnClose;
26 std::unique_ptr<weld::Label> mxEditPreUpload;
27 std::unique_ptr<weld::Label> mxEditPostUpload;
28 std::unique_ptr<weld::LinkButton> mxLinkButton;
29 std::unique_ptr<weld::Label> mxFtBugReport;
30 std::unique_ptr<weld::CheckButton> mxCBSafeMode;
31 std::unique_ptr<weld::LinkButton> mxPrivacyPolicyButton;
33 OUString maLinkTemplate;
35 DECL_LINK(BtnHdl, weld::Button&, void);
36 DECL_STATIC_LINK(CrashReportDialog, InstallLOKNotifierHdl, void*,
37 vcl::ILibreOfficeKitNotifier*);
40 #endif
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */