diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-07-26 21:50:41 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-07-26 22:06:04 +0200 |
| commit | ba31faa55abedea506443df821e32aff93378c15 (patch) | |
| tree | ef192cd7b1c1fcc87ed8238353ea40c5f3e1dc32 /src/gui_form.hh | |
| parent | 629bd9dbd099af60812e80f851afb7902fc28c37 (diff) | |
Add GuiForm::Listener::changed which is called whenever a value is changed
Diffstat (limited to 'src/gui_form.hh')
| -rw-r--r-- | src/gui_form.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui_form.hh b/src/gui_form.hh index 972c781..c91ebce 100644 --- a/src/gui_form.hh +++ b/src/gui_form.hh @@ -14,6 +14,7 @@ public: public: virtual ~Listener() {} + virtual void changed(GuiForm* form, std::string const& id) = 0; virtual bool about_to_close(GuiForm* form) = 0; protected: |
