]> git.lyx.org Git - lyx.git/blobdiff - src/trans_decl.h
some support for matrix operations with maple ('M-x math-extern maple evalm')
[lyx.git] / src / trans_decl.h
index 85d39e0045fc3c4d00c228add2702594916102b6..71ab9d5d59689ed013ac5a812b1a630484367665 100644 (file)
@@ -1,35 +1,50 @@
 // -*- C++ -*-
-#ifndef _Trans_Decl_h_
-#define _Trans_Decl_h_
+#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 */
-       LString data;   /* exception data */
-       Keyexc *next;
-       bool combined;  // Combination with another deadkey
-       tex_accent accent;      // The accent combined with
+       /// character to make exception
+       char c;
+       /// exception data
+       string data;
+#if 0
+       ///
+       Keyexc * next;
+#endif
+       /// Combination with another deadkey
+       bool combined;
+       /// The accent comined with
+       tex_accent accent;
 };
 
+#if 0
 ///
-typedef Keyexc *KmodException;
-
-//
-// 
-//
+typedef Keyexc * KmodException;
+#else
+///
+typedef std::list<Keyexc> KmodException;
+#endif
 
+///
 struct KmodInfo {
-       LString data;
+       ///
+       string data;
+       ///
        tex_accent accent;
-       LString allowed;
-       KmodException exception_list;    
-       
-       KmodInfo(const KmodInfo&);
+#if 0
+       ///
+       string allowed;
+#endif
+       ///
+       KmodException exception_list;
+       ///
        KmodInfo();
-       
-       KmodInfo& operator=(const KmodInfo&);
 };
 
 #endif