]> git.lyx.org Git - lyx.git/blobdiff - src/trans_decl.h
add missing writeNormal() methods to some insets
[lyx.git] / src / trans_decl.h
index 1b2937f16ab6ad10652fd38421f2196757d76023..71ab9d5d59689ed013ac5a812b1a630484367665 100644 (file)
@@ -2,35 +2,49 @@
 #ifndef Trans_Decl_h
 #define Trans_Decl_h
 
+#include <list>
+
 #include "LString.h"
 #include "tex-accent.h"
 
+///
 struct Keyexc {
-       char c;         /* character to make exception */
-       string data;    /* exception data */
+       /// character to make exception
+       char c;
+       /// exception data
+       string data;
+#if 0
+       ///
        Keyexc * next;
-       bool combined;  // Combination with another deadkey
-       tex_accent accent;      // The accent combined with
+#endif
+       /// Combination with another deadkey
+       bool combined;
+       /// The accent comined with
+       tex_accent accent;
 };
 
+#if 0
 ///
 typedef Keyexc * KmodException;
+#else
+///
+typedef std::list<Keyexc> KmodException;
+#endif
 
-//
-// 
-//
-
+///
 struct KmodInfo {
+       ///
        string data;
+       ///
        tex_accent accent;
+#if 0
+       ///
        string allowed;
-       KmodException exception_list;    
-
-       
-       //KmodInfo(const KmodInfo&);
+#endif
+       ///
+       KmodException exception_list;
+       ///
        KmodInfo();
-       
-       //KmodInfo& operator= (const KmodInfo&);
 };
 
 #endif