X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftrans_decl.h;h=9d6aa5b467d92f9983944f854d5721cbc324709a;hb=a617e0d978b460f5529737da1f1c73088e45a6eb;hp=85d39e0045fc3c4d00c228add2702594916102b6;hpb=27de1486ca34aaad446adb798d71a77d6f6304da;p=lyx.git diff --git a/src/trans_decl.h b/src/trans_decl.h index 85d39e0045..9d6aa5b467 100644 --- a/src/trans_decl.h +++ b/src/trans_decl.h @@ -1,35 +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 +#include + + +namespace lyx { + + +/// struct Keyexc { - char c; /* character to make exception */ - LString 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 KmodException; -struct KmodInfo { - LString data; +/// +class KmodInfo { +public: + /// + std::string data; + /// tex_accent accent; - LString allowed; - KmodException exception_list; - - KmodInfo(const KmodInfo&); + /// + KmodException exception_list; + /// KmodInfo(); - - KmodInfo& operator=(const KmodInfo&); }; + +} // namespace lyx + #endif