5 #include "util/export_file_chooser.hpp"
6 #include "util/changeable.hpp"
13 const std::string &project_dir);
16 void set_can_export(
bool v);
22 Gtk::HeaderBar *header =
nullptr;
23 Gtk::Entry *filename_entry =
nullptr;
24 Gtk::Button *filename_button =
nullptr;
25 Gtk::Button *export_button =
nullptr;
26 Gtk::Switch *include_3d_models_switch =
nullptr;
27 Gtk::Entry *prefix_entry =
nullptr;
29 Gtk::TextView *log_textview =
nullptr;
30 Gtk::Spinner *spinner =
nullptr;
34 void prepare_chooser(Glib::RefPtr<Gtk::FileChooser> chooser)
override;
35 void prepare_filename(std::string &filename)
override;
37 MyExportFileChooser export_filechooser;
39 Glib::Dispatcher export_dispatcher;
40 std::mutex msg_queue_mutex;
41 std::deque<std::string> msg_queue;
42 bool export_running =
false;
44 void set_is_busy(
bool v);