summaryrefslogtreecommitdiff
path: root/src/gui_main.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-07-28 22:05:37 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-07-28 22:11:23 +0200
commit29d3d1cef5272f5cba1fe573b664ea6059f05eda (patch)
tree9a3b346b75cf6464def9c73b8efddc74ae955060 /src/gui_main.hh
parent0898066430e0f2908565a1b4588e50de2d41a256 (diff)
Add GuiMain::file_dialog
Diffstat (limited to 'src/gui_main.hh')
-rw-r--r--src/gui_main.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui_main.hh b/src/gui_main.hh
index 83c0f8d..3b98b71 100644
--- a/src/gui_main.hh
+++ b/src/gui_main.hh
@@ -8,6 +8,7 @@
#include <string>
#include "gui_attrtext.hh"
+#include "gui_file.hh"
#include "gui_window.hh"
class Config;
@@ -62,6 +63,12 @@ public:
virtual Config* config() = 0;
+ virtual std::string file_dialog(
+ std::string const& title,
+ std::string const& file,
+ uint8_t flags,
+ std::vector<GuiFile::Filter> const& filter) = 0;
+
protected:
GuiMain() {}
};