diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-07-28 22:05:37 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-07-28 22:11:23 +0200 |
| commit | 29d3d1cef5272f5cba1fe573b664ea6059f05eda (patch) | |
| tree | 9a3b346b75cf6464def9c73b8efddc74ae955060 /src/gui_file.hh | |
| parent | 0898066430e0f2908565a1b4588e50de2d41a256 (diff) | |
Add GuiMain::file_dialog
Diffstat (limited to 'src/gui_file.hh')
| -rw-r--r-- | src/gui_file.hh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/gui_file.hh b/src/gui_file.hh new file mode 100644 index 0000000..74d2fee --- /dev/null +++ b/src/gui_file.hh @@ -0,0 +1,25 @@ +// -*- mode: c++; c-basic-offset: 2; -*- + +#ifndef GUI_FILE_HH +#define GUI_FILE_HH + +#include <string> +#include <vector> + +class GuiFile { +public: + struct Filter { + std::string name; + std::vector<std::string> masks; + }; + static const uint8_t FILE_OPEN; + static const uint8_t FILE_SAVE; + +private: + GuiFile() {} + ~GuiFile() {} + GuiFile(GuiFile const&) = delete; + GuiFile& operator=(GuiFile const&) = delete; +}; + +#endif // GUI_FILE_HH |
