1999-09-27 18:44:28 +00:00
|
|
|
// -*- C++ -*-
|
1999-11-15 12:01:38 +00:00
|
|
|
#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
|