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"
|
|
|
|
|
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;
|
2001-07-12 11:11:10 +00:00
|
|
|
///
|
1999-11-15 12:01:38 +00:00
|
|
|
Keyexc * next;
|
2000-08-07 20:58:24 +00:00
|
|
|
/// Combination with another deadkey
|
|
|
|
bool combined;
|
|
|
|
/// The accent comined with
|
|
|
|
tex_accent accent;
|
1999-09-27 18:44:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
///
|
1999-11-15 12:01:38 +00:00
|
|
|
typedef 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;
|
2001-07-12 11:11:10 +00:00
|
|
|
#if 0
|
2000-08-07 20:58:24 +00:00
|
|
|
///
|
1999-10-02 16:21:10 +00:00
|
|
|
string allowed;
|
2001-07-12 11:11:10 +00:00
|
|
|
#endif
|
2000-08-07 20:58:24 +00:00
|
|
|
///
|
|
|
|
KmodException exception_list;
|
|
|
|
///
|
1999-09-27 18:44:28 +00:00
|
|
|
KmodInfo();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|