librime: echo_translator.h Source File

| 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
14 class 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_
translator.h
rime
Definition algebra.cc:12
rime::an
std::shared_ptr< T > an
Definition common.h:60
rime::EchoTranslator::Query
virtual an< Translation > Query(const string &input, const Segment &segment)
Definition echo_translator.cc:30
rime::EchoTranslator::EchoTranslator
EchoTranslator(const Ticket &ticket)
Definition echo_translator.cc:28
rime::Segment
Definition segmentation.h:18
rime::Ticket
Definition ticket.h:17
rime::Translator::Translator
Translator(const Ticket &ticket)
Definition translator.h:24