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