]> git.lyx.org Git - lyx.git/blobdiff - src/trans_decl.h
Fix loop when opening TOC widget in an empty document, basically by Richard Heck.
[lyx.git] / src / trans_decl.h
index 3eae0166695ec70a3332c7f1621c4b94c1291b68..f3704ab3d02f36919490e7050224a676881eb131 100644 (file)
 #include "tex-accent.h"
 
 #include <list>
-#include <string>
+
+
+namespace lyx {
 
 
 ///
 struct Keyexc {
        /// character to make exception
-       char c;
+       char_type c;
        /// exception data
-       std::string data;
+       docstring data;
        /// Combination with another deadkey
        bool combined;
        /// The accent comined with
@@ -35,9 +37,10 @@ struct Keyexc {
 typedef std::list<Keyexc> KmodException;
 
 ///
-struct KmodInfo {
+class KmodInfo {
+public:
        ///
-       std::string data;
+       docstring data;
        ///
        tex_accent accent;
        ///
@@ -46,4 +49,7 @@ struct KmodInfo {
        KmodInfo();
 };
 
+
+} // namespace lyx
+
 #endif