2 /* International support for LyX
9 #include FORMS_H_LOCATION
17 #include <sigc++/signal_system.h>
23 #ifdef SIGC_CXX_NAMESPACES
27 /// default character set
28 #define DEFCHSET "iso8859-1"
31 /** The gui part and the non gui part should be split into two different
32 classes. Probably should the gui class just have a pointer to the non
35 class Intl : public Object {
42 /// show key mapping dialog
45 void KeyMapOn(bool on);
51 /// turn on/off key mappings, status in keymapon
55 int SetPrimary(string const &);
58 int SetSecondary(string const &);
60 /// initialize key mapper
61 void InitKeyMapper(bool on);
63 /// Get the Translation Manager
64 TransManager * getTrans();
72 static void DispatchCallback(FL_OBJECT *, long);
74 /** Redraw the form (on receipt of a Signal indicating, for example,
75 that the xform colors have been re-mapped).
81 static void LCombo(int i, void *, Combox *); // callback
83 void Keymap(long code);
90 FD_KeyMap * fd_form_keymap;
100 TransManager * trans;
101 /// Redraw connection.
107 TransManager * Intl::getTrans()