1 | // Aseprite
|
2 | // Copyright (C) 2001-2018 David Capello
|
3 | //
|
4 | // This program is distributed under the terms of
|
5 | // the End-User License Agreement for Aseprite.
|
6 |
|
7 | #ifndef APP_FILE_SELECTOR_H_INCLUDED
|
8 | #define APP_FILE_SELECTOR_H_INCLUDED
|
9 | #pragma once
|
10 |
|
11 | #include "base/paths.h"
|
12 | #include "doc/pixel_ratio.h"
|
13 |
|
14 | #include <string>
|
15 |
|
16 | namespace ui {
|
17 | class ComboBox;
|
18 | }
|
19 |
|
20 | namespace app {
|
21 |
|
22 | enum class FileSelectorType { Open, OpenMultiple, Save };
|
23 |
|
24 | bool show_file_selector(
|
25 | const std::string& title,
|
26 | const std::string& initialPath,
|
27 | const base::paths& extensions,
|
28 | FileSelectorType type,
|
29 | base::paths& output);
|
30 |
|
31 | } // namespace app
|
32 |
|
33 | #endif
|
34 | |