2 /* International support for LyX
9 #include FORMS_H_LOCATION
15 #include <boost/smart_ptr.hpp>
16 #include <sigc++/signal_system.h>
19 #include "trans_mgr.h"
24 /// default character set
25 #define DEFCHSET "iso8859-1"
28 /** The gui part and the non gui part should be split into two different
29 classes. Probably should the gui class just have a pointer to the non
32 class Intl : public SigC::Object {
39 /// show key mapping dialog
42 void KeyMapOn(bool on);
48 /// turn on/off key mappings, status in keymapon
52 int SetPrimary(string const &);
55 int SetSecondary(string const &);
57 /// initialize key mapper
58 void InitKeyMapper(bool on);
60 // Get the Translation Manager
61 TransManager & getTrans();
69 static void DispatchCallback(FL_OBJECT *, long);
71 /** Redraw the form (on receipt of a Signal indicating, for example,
72 that the xform colors have been re-mapped).
78 static void LCombo(int i, void *, Combox *); // callback
80 void Keymap(long code);
87 FD_KeyMap * fd_form_keymap;
89 boost::scoped_ptr<Combox> Language;
91 boost::scoped_ptr<Combox> Language2;
98 /// Redraw connection.
104 TransManager & Intl::getTrans()