1999-09-27 18:44:28 +00:00
|
|
|
|
// -*- C++ -*-
|
2003-08-23 00:17:00 +00:00
|
|
|
|
/**
|
2007-04-26 04:41:58 +00:00
|
|
|
|
* \file KmodInfo.h
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* 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.
|
|
|
|
|
*/
|
|
|
|
|
|
2007-04-26 04:41:58 +00:00
|
|
|
|
#ifndef KMODINFO_H
|
|
|
|
|
#define KMODINFO_H
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
|
|
#include "tex-accent.h"
|
|
|
|
|
|
2001-12-05 08:50:13 +00:00
|
|
|
|
#include <list>
|
|
|
|
|
|
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
namespace lyx {
|
|
|
|
|
|
|
|
|
|
|
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
|
2007-03-31 08:12:08 +00:00
|
|
|
|
char_type c;
|
2000-08-07 20:58:24 +00:00
|
|
|
|
/// exception data
|
2007-03-31 08:12:08 +00:00
|
|
|
|
docstring data;
|
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
|
|
|
|
};
|
|
|
|
|
|
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
|
|
|
|
///
|
2005-01-19 15:03:31 +00:00
|
|
|
|
class KmodInfo {
|
|
|
|
|
public:
|
2000-08-07 20:58:24 +00:00
|
|
|
|
///
|
2007-03-31 08:12:08 +00:00
|
|
|
|
docstring 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();
|
|
|
|
|
};
|
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
|
#endif
|