diff options
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 |
