]> git.lyx.org Git - lyx.git/blobdiff - src/trans_decl.h
Small formatting and comment cleanup.
[lyx.git] / src / trans_decl.h
index d26f05cecfdf58571b30d067b5fd05900187a5d6..9d6aa5b467d92f9983944f854d5721cbc324709a 100644 (file)
@@ -1,18 +1,33 @@
 // -*- C++ -*-
-#ifndef Trans_Decl_h
-#define Trans_Decl_h
+/**
+ * \file trans_decl.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ * \author Matthias Ettrich
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
+#ifndef TRANS_DECL_H
+#define TRANS_DECL_H
 
-#include "LString.h"
 #include "tex-accent.h"
 
+#include <list>
+#include <string>
+
+
+namespace lyx {
+
+
 ///
 struct Keyexc {
        /// character to make exception
        char c;
        /// exception data
-       string data;
-       ///
-       Keyexc * next;
+       std::string data;
        /// Combination with another deadkey
        bool combined;
        /// The accent comined with
@@ -20,22 +35,22 @@ struct Keyexc {
 };
 
 ///
-typedef Keyexc * KmodException;
+typedef std::list<Keyexc> KmodException;
 
 ///
-struct KmodInfo {
+class KmodInfo {
+public:
        ///
-       string data;
+       std::string data;
        ///
        tex_accent accent;
-#if 0
-       ///
-       string allowed;
-#endif
        ///
        KmodException exception_list;
        ///
        KmodInfo();
 };
 
+
+} // namespace lyx
+
 #endif