Add sending of translations via email.
[dcpomatic.git] / src / wx / i18n_hook.h
index 9462e3f7f40fe0a4b2338e3a1f36089073c6c5e2..106d9d8c4f4edf60657f77b5ad963a467756e8d5 100644 (file)
@@ -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