summaryrefslogtreecommitdiffstats
path: root/src/helper/choose-file.h
blob: 36a9c4dce1e57930127457013dd8bc9bcae349e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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