2 /* International support for LyX
9 #include FORMS_H_LOCATION
17 #include <sigc++/signal_system.h>
23 #ifdef SIGC_CXX_NAMESPACES
25 using SigC::Connection;
28 /// default character set
29 #define DEFCHSET "iso8859-1"
32 /** The gui part and the non gui part should be split into two different
33 classes. Probably should the gui class just have a pointer to the non
36 class Intl : public Object {
43 /// show key mapping dialog
46 void KeyMapOn(bool on);
52 /// turn on/off key mappings, status in keymapon
56 int SetPrimary(string const &);
59 int SetSecondary(string const &);
61 /// initialize key mapper
62 void InitKeyMapper(bool on);
64 /// Get the Translation Manager
65 TransManager * getTrans();
73 static void DispatchCallback(FL_OBJECT *, long);
75 /** Redraw the form (on receipt of a Signal indicating, for example,
76 that the xform colors have been re-mapped).
82 static void LCombo(int i, void *, Combox *); // callback
84 void Keymap(long code);
91 FD_KeyMap * fd_form_keymap;
101 TransManager * trans;
102 /// Redraw connection.
108 TransManager * Intl::getTrans()