librime 1.2
Rime Input Method Engine, the core library
echo_translator.h
Go to the documentation of this file.
1//
2// Copyright RIME Developers
3// Distributed under the BSD License
4//
5// 2011-06-20 GONG Chen <chen.sst@gmail.com>
6//
7#ifndef RIME_ECHO_TRANSLATOR_H_
8#define RIME_ECHO_TRANSLATOR_H_
9
10#include <rime/translator.h>
11
12namespace rime {
13
14class EchoTranslator : public Translator {
15 public:
16 EchoTranslator(const Ticket& ticket);
17
18 virtual an<Translation> Query(const string& input, const Segment& segment);
19};
20
21} // namespace rime
22
23#endif // RIME_ECHO_TRANSLATOR_H_
Definition algebra.cc:12
std::shared_ptr< T > an
Definition common.h:60
virtual an< Translation > Query(const string &input, const Segment &segment)
Definition echo_translator.cc:30
EchoTranslator(const Ticket &ticket)
Definition echo_translator.cc:28
Definition segmentation.h:18
Definition ticket.h:17
Translator(const Ticket &ticket)
Definition translator.h:24