]> git.lyx.org Git - lyx.git/blobdiff - src/trans_decl.h
Rewording in GTK document dialog
[lyx.git] / src / trans_decl.h
index 71ab9d5d59689ed013ac5a812b1a630484367665..cd5da79e551e1f87f3206f4c23a455a46f3ed353 100644 (file)
@@ -1,46 +1,46 @@
 // -*- 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.
+ */
 
-#include <list>
+#ifndef TRANS_DECL_H
+#define TRANS_DECL_H
 
-#include "LString.h"
 #include "tex-accent.h"
 
+#include <list>
+#include <string>
+
+
 ///
 struct Keyexc {
        /// character to make exception
        char c;
        /// exception data
-       string data;
-#if 0
-       ///
-       Keyexc * next;
-#endif
+       std::string data;
        /// 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 {
+class KmodInfo {
+public:
        ///
-       string data;
+       std::string data;
        ///
        tex_accent accent;
-#if 0
-       ///
-       string allowed;
-#endif
        ///
        KmodException exception_list;
        ///