#ifndef TRANS_H
#define TRANS_H
-#include "lfuns.h"
-#include "support/docstring.h"
+#include "FuncCode.h"
-#include <boost/scoped_ptr.hpp>
+#include "support/docstring.h"
#include <list>
#include <map>
};
-struct tex_accent_struct {
+struct TeXAccent {
///
tex_accent accent;
/// UCS4 code point of this accent
///
char const * name;
///
- kb_action action;
+ FuncCode action;
};
///
-extern tex_accent_struct get_accent(kb_action action);
+extern TeXAccent get_accent(FuncCode action);
///
docstring const & match(char_type c);
///
void insertException(KmodException & exclist, char_type c,
- docstring const & data, bool = false,
+ docstring const & data, bool = false,
tex_accent = TEX_NOACCENT);
///
void freeException(KmodException & exclist);
///
-inline
-docstring const & Trans::match(char_type c)
+inline docstring const & Trans::match(char_type c)
{
std::map<char_type, docstring>::iterator it = keymap_.find(c);
if (it != keymap_.end()) {
///
Trans * active_;
///
- boost::scoped_ptr<Trans> t1_;
+ Trans t1_;
///
- boost::scoped_ptr<Trans> t2_;
+ Trans t2_;
///
static Trans default_;
///
///
TransManager();
///
- ~TransManager();
- ///
int setPrimary(std::string const &);
///
int setSecondary(std::string const &);