diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-07-26 21:46:51 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-07-26 21:49:06 +0200 |
| commit | 629bd9dbd099af60812e80f851afb7902fc28c37 (patch) | |
| tree | 5c2877f36cf48c2e63bfc187fe1990a5d784ddbe /src/gui_form.hh | |
| parent | 35ead0aaa5c7a7d9a17ab3dad65cfb9f0252889b (diff) | |
Change GuiForm::add_file must_exists argument to flags FILE_OPEN/FILE_SAVE
Diffstat (limited to 'src/gui_form.hh')
| -rw-r--r-- | src/gui_form.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui_form.hh b/src/gui_form.hh index d154518..972c781 100644 --- a/src/gui_form.hh +++ b/src/gui_form.hh @@ -32,9 +32,11 @@ public: std::string name; std::vector<std::string> masks; }; + static const uint8_t FILE_OPEN; + static const uint8_t FILE_SAVE; virtual void add_file(std::string const& id, std::string const& label, std::string const& value, - std::string const& description, bool must_exist, + std::string const& description, uint8_t flags, std::vector<Filter> const& filter) = 0; virtual void add_listener(Listener* listener) = 0; |
