diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-12-08 02:12:56 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-12-08 02:12:56 +0000 |
| commit | 5869a4b402e16ea735fb6902fe7604ec4d0ec0d4 (patch) | |
| tree | 5eb6c29217fffd840a68fb3eb9f7e922f04fd8ae /src/wx/i18n_hook.h | |
| parent | d12f444eadb2aafbc61b8b62006d9aa85fc40ba7 (diff) | |
Add sending of translations via email.v2.13.82
Diffstat (limited to 'src/wx/i18n_hook.h')
| -rw-r--r-- | src/wx/i18n_hook.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/i18n_hook.h b/src/wx/i18n_hook.h index 9462e3f7f..106d9d8c4 100644 --- a/src/wx/i18n_hook.h +++ b/src/wx/i18n_hook.h @@ -22,6 +22,7 @@ #define DCPOMATIC_I18N_HOOK_H #include <wx/wx.h> +#include <map> class I18NHook { @@ -31,10 +32,16 @@ public: virtual void set_text (wxString text) = 0; virtual wxString get_text () const = 0; + static std::map<std::string, std::string> translations () { + return _translations; + } + private: void handle (wxMouseEvent &); wxWindow* _window; + + static std::map<std::string, std::string> _translations; }; #endif |
