10#ifndef __GUI_WIDGETS_BUG_REPORT_DIALOG_H__
11#define __GUI_WIDGETS_BUG_REPORT_DIALOG_H__
16#include "gui/backend/gtk_widgets/libadwaita_wrapper.h"
24#define BUG_REPORT_DIALOG_WIDGET_TYPE (bug_report_dialog_widget_get_type ())
26 BugReportDialogWidget,
27 bug_report_dialog_widget,
29 BUG_REPORT_DIALOG_WIDGET,
32using BugReportDialogWidget =
struct _BugReportDialogWidget
34 AdwAlertDialog parent_instance;
38 GtkLabel * backtrace_lbl;
40 GtkLabel * system_info_lbl;
42 GtkTextView * user_input_text_view;
44 std::vector<std::string> log;
45 std::vector<std::string> log_long;
46 std::string undo_stack;
47 std::string undo_stack_long;
54 char * log_file_tmpdir;
55 char * screenshot_path;
56 char * screenshot_tmpdir;
63BugReportDialogWidget *
66 const char * msg_prefix,
67 const char * backtrace,