librime
1.2
Rime Input Method Engine, the core library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
rime
ticket.h
Go to the documentation of this file.
1
//
2
// Copyright RIME Developers
3
// Distributed under the BSD License
4
//
5
// 2013-10-28 GONG Chen <chen.sst@gmail.com>
6
//
7
#ifndef RIME_TICKET_H_
8
#define RIME_TICKET_H_
9
10
#include <
rime_api.h
>
11
12
namespace
rime
{
13
14
class
Engine
;
15
class
Schema
;
16
17
struct
Ticket
{
18
Engine
*
engine
=
nullptr
;
19
Schema
*
schema
=
nullptr
;
20
string
name_space
;
21
string
klass
;
22
23
Ticket
() =
default
;
24
Ticket
(
Schema
* s,
const
string
& ns);
25
// prescription: in the form of "klass" or "klass@alias"
26
// where alias, if given, will override default name space
27
RIME_DLL
Ticket
(
Engine
* e,
28
const
string
& ns =
""
,
29
const
string
& prescription =
""
);
30
};
31
32
}
// namespace rime
33
34
#endif
// RIME_TICKET_H_
rime_api.h
RIME_DLL
#define RIME_DLL
Definition
rime_api.h:33
rime
Definition
algebra.cc:12
rime::Engine
Definition
engine.h:20
rime::Schema
Definition
schema.h:15
rime::Ticket::engine
Engine * engine
Definition
ticket.h:18
rime::Ticket::Ticket
Ticket()=default
rime::Ticket::schema
Schema * schema
Definition
ticket.h:19
rime::Ticket::klass
string klass
Definition
ticket.h:21
rime::Ticket::name_space
string name_space
Definition
ticket.h:20
Generated on
for librime by
1.18.0