1999-09-27 18:44:28 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
#ifndef _Trans_Decl_h_
|
|
|
|
#define _Trans_Decl_h_
|
|
|
|
|
|
|
|
#include "LString.h"
|
|
|
|
#include "tex-accent.h"
|
|
|
|
|
|
|
|
struct Keyexc {
|
|
|
|
char c; /* character to make exception */
|
1999-10-02 16:21:10 +00:00
|
|
|
string data; /* exception data */
|
1999-09-27 18:44:28 +00:00
|
|
|
Keyexc *next;
|
|
|
|
bool combined; // Combination with another deadkey
|
|
|
|
tex_accent accent; // The accent combined with
|
|
|
|
};
|
|
|
|
|
|
|
|
///
|
|
|
|
typedef Keyexc *KmodException;
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
struct KmodInfo {
|
1999-10-02 16:21:10 +00:00
|
|
|
string data;
|
1999-09-27 18:44:28 +00:00
|
|
|
tex_accent accent;
|
1999-10-02 16:21:10 +00:00
|
|
|
string allowed;
|
1999-09-27 18:44:28 +00:00
|
|
|
KmodException exception_list;
|
|
|
|
|
|
|
|
KmodInfo(const KmodInfo&);
|
|
|
|
KmodInfo();
|
|
|
|
|
|
|
|
KmodInfo& operator=(const KmodInfo&);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|