librime: schema_list_translator.h Source File

| librime 1.2 Rime Input Method Engine, the core library

schema_list_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_SCHEMA_LIST_TRANSLATOR_H_
8#define RIME_SCHEMA_LIST_TRANSLATOR_H_
9
10#include <rime/common.h>
11#include <rime/translator.h>
12
13namespace rime {
14
15 class SchemaListTranslator : public Translator {
16 public:
17 SchemaListTranslator(const Ticket& ticket);
18
19 virtual an<Translation> Query(const string& input, const Segment& segment);
20};
21
22} // namespace rime
23
24#endif // RIME_SCHEMA_LIST_TRANSLATOR_H_
common.h
translator.h
rime
Definition algebra.cc:12
rime::an
std::shared_ptr< T > an
Definition common.h:60
rime::SchemaListTranslator::SchemaListTranslator
SchemaListTranslator(const Ticket &ticket)
Definition schema_list_translator.cc:128
rime::SchemaListTranslator::Query
virtual an< Translation > Query(const string &input, const Segment &segment)
Definition schema_list_translator.cc:131
rime::Segment
Definition segmentation.h:18
rime::Ticket
Definition ticket.h:17
rime::Translator::Translator
Translator(const Ticket &ticket)
Definition translator.h:24