]> git.lyx.org Git - lyx.git/blobdiff - src/intl.h
small changes to ButtonController usage
[lyx.git] / src / intl.h
index 8cf5bf36d5976c5340fb2687168fa010c926e407..8432bfcd1a80e685a1794457701dfbf147f80a6b 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef INTL_H
 #define INTL_H
 
+#include FORMS_H_LOCATION
+
 #ifdef __GNUG__
 #pragma interface
 #endif
@@ -26,8 +28,7 @@ class TransManager;
   classes. Probably should the gui class just have a pointer to the non
   gui class.
   */
-class Intl
-{
+class Intl {
 public:
        ///
        Intl();
@@ -54,10 +55,12 @@ public:
        void InitKeyMapper(bool on);
 
        /// Get the Translation Manager
-       inline TransManager * getTrans();
+       TransManager * getTrans();
        ///
        bool keymapon;
        ///
+       bool primarykeymap;
+       ///
        char * chsetcode;
        ///
        static void DispatchCallback(FL_OBJECT *, long);
@@ -71,8 +74,6 @@ private:
        ///
        void Keymap(long code);
        ///
-       bool primarykeymap;
-       ///
        int curkeymap;
        ///
        int otherkeymap;
@@ -92,6 +93,7 @@ private:
 };
 
 
+inline
 TransManager * Intl::getTrans()
 {
        return trans;