]> git.lyx.org Git - lyx.git/blobdiff - src/trans_decl.h
* languages: use nb_NO instead of no_NO for norwegian (bug 2850).
[lyx.git] / src / trans_decl.h
index 1b2937f16ab6ad10652fd38421f2196757d76023..9d6aa5b467d92f9983944f854d5721cbc324709a 100644 (file)
@@ -1,36 +1,56 @@
 // -*- 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 {
-       char c;         /* character to make exception */
-       string 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
+       std::string data;
+       /// Combination with another deadkey
+       bool combined;
+       /// The accent comined with
+       tex_accent accent;
 };
 
 ///
-typedef Keyexc * KmodException;
-
-//
-// 
-//
+typedef std::list<Keyexc> KmodException;
 
-struct KmodInfo {
-       string data;
+///
+class KmodInfo {
+public:
+       ///
+       std::string data;
+       ///
        tex_accent accent;
-       string allowed;
-       KmodException exception_list;    
-
-       
-       //KmodInfo(const KmodInfo&);
+       ///
+       KmodException exception_list;
+       ///
        KmodInfo();
-       
-       //KmodInfo& operator= (const KmodInfo&);
 };
 
+
+} // namespace lyx
+
 #endif