+/* This file is part of
+ * ======================================================
+ *
+ * LyX, The Document Processor
+ *
+ * Copyright 1995 Matthias Ettrich
+ * Copyright 1995-2000 The LyX Team.
+ *
+ * ====================================================== */
+
#include <config.h>
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
#include <cstdlib>
#include "tex-accent.h"
#include "commandtags.h"
*/
// I am not sure how some of the XWindows names coresponds to the TeX ones.
-//static
tex_accent_struct lyx_accent_table[18] = {
{ static_cast<tex_accent>(0), "", "", "", static_cast<kb_action>(0)},
{TEX_ACUTE, "\\'", " AEIOUYaeiouySZszRLCNrlcn", "acute", LFUN_ACUTE},
{TEX_DOT, "\\.", " ZzICGicgEe", "dot", LFUN_DOT},
{TEX_OGONEK, "\\k", " AaEe", "ogonek", LFUN_OGONEK},
{ static_cast<tex_accent>(0), "", "", "", static_cast<kb_action>(0)}};
-
+
tex_accent_struct get_accent(kb_action action)
{
return temp;
}
-string DoAccent(string const & s, tex_accent accent)
+
+string const DoAccent(string const & s, tex_accent accent)
{
string res;
return res;
}
-string DoAccent(char c, tex_accent accent)
+
+string const DoAccent(char c, tex_accent accent)
{
return DoAccent(tostr(c), accent);
}