diff options
Diffstat (limited to '')
-rw-r--r-- | src/helper/choose-file.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/helper/choose-file.h b/src/helper/choose-file.h new file mode 100644 index 0000000..36a9c4d --- /dev/null +++ b/src/helper/choose-file.h @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0-or-later + +#ifndef SEEN_CHOOSE_FILE_H +#define SEEN_CHOOSE_FILE_H + +#include <glibmm/ustring.h> +#include <gtkmm/window.h> +#include <string> +#include <vector> + +namespace Inkscape { + +// select file for saving data +std::string choose_file_save(Glib::ustring title, Gtk::Window* parent, Glib::ustring mime_type, Glib::ustring file_name, std::string& current_folder); + +// open single file for reading data +std::string choose_file_open(Glib::ustring title, Gtk::Window* parent, std::vector<Glib::ustring> mime_types, std::string& current_folder); + +} // namespace Inkscape + +#endif // SEEN_CHOOSE_FILE_H |