// -*- 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>
+
+
+namespace lyx {
+
+
///
struct Keyexc {
/// character to make exception
- char c;
+ char_type c;
/// exception data
- string data;
- Keyexc * next;
+ docstring data;
/// Combination with another deadkey
bool combined;
/// The accent comined with
};
///
-typedef Keyexc * KmodException;
+typedef std::list<Keyexc> KmodException;
///
-struct KmodInfo {
+class KmodInfo {
+public:
///
- string data;
+ docstring data;
///
tex_accent accent;
///
- string allowed;
- ///
KmodException exception_list;
///
KmodInfo();
};
+
+} // namespace lyx
+
#endif