1999-09-27 18:44:28 +00:00
|
|
|
|
// -*- C++ -*-
|
2003-08-23 00:17:00 +00:00
|
|
|
|
/**
|
|
|
|
|
* \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<EFBFBD>nnes
|
|
|
|
|
* \author Matthias Ettrich
|
|
|
|
|
*
|
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef TRANS_DECL_H
|
|
|
|
|
#define TRANS_DECL_H
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
|
|
#include "LString.h"
|
|
|
|
|
#include "tex-accent.h"
|
|
|
|
|
|
2001-12-05 08:50:13 +00:00
|
|
|
|
#include <list>
|
|
|
|
|
|
|
|
|
|
|
2000-08-07 20:58:24 +00:00
|
|
|
|
///
|
1999-09-27 18:44:28 +00:00
|
|
|
|
struct Keyexc {
|
2000-08-07 20:58:24 +00:00
|
|
|
|
/// character to make exception
|
|
|
|
|
char c;
|
|
|
|
|
/// exception data
|
|
|
|
|
string data;
|
|
|
|
|
/// Combination with another deadkey
|
|
|
|
|
bool combined;
|
|
|
|
|
/// The accent comined with
|
|
|
|
|
tex_accent accent;
|
1999-09-27 18:44:28 +00:00
|
|
|
|
};
|
|
|
|
|
|
2001-07-16 15:42:57 +00:00
|
|
|
|
///
|
|
|
|
|
typedef std::list<Keyexc> KmodException;
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
2000-08-07 20:58:24 +00:00
|
|
|
|
///
|
1999-09-27 18:44:28 +00:00
|
|
|
|
struct KmodInfo {
|
2000-08-07 20:58:24 +00:00
|
|
|
|
///
|
1999-10-02 16:21:10 +00:00
|
|
|
|
string data;
|
2000-08-07 20:58:24 +00:00
|
|
|
|
///
|
1999-09-27 18:44:28 +00:00
|
|
|
|
tex_accent accent;
|
2000-08-07 20:58:24 +00:00
|
|
|
|
///
|
|
|
|
|
KmodException exception_list;
|
|
|
|
|
///
|
1999-09-27 18:44:28 +00:00
|
|
|
|
KmodInfo();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|