librime
1.2
Rime Input Method Engine, the core library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
rime
lever
customizer.h
Go to the documentation of this file.
1
//
2
// Copyright RIME Developers
3
// Distributed under the BSD License
4
//
5
#ifndef RIME_CUSTOMIZER_H_
6
#define RIME_CUSTOMIZER_H_
7
8
#include <
rime/common.h
>
9
10
namespace
rime
{
11
12
class
Customizer
{
13
public
:
14
Customizer
(
const
path
& source_path,
15
const
path
& dest_path,
16
const
string
& version_key)
17
:
source_path_
(source_path),
18
dest_path_
(dest_path),
19
version_key_
(version_key) {}
20
21
// DEPRECATED: in favor of auto-patch config compiler plugin
22
bool
UpdateConfigFile
();
23
24
protected
:
25
path
source_path_
;
26
path
dest_path_
;
27
string
version_key_
;
28
};
29
30
}
// namespace rime
31
32
#endif
// RIME_CUSTOMIZER_H_
common.h
rime
Definition
algebra.cc:12
rime::path
Definition
common.h:84
rime::Customizer::UpdateConfigFile
bool UpdateConfigFile()
Definition
customizer.cc:32
rime::Customizer::dest_path_
path dest_path_
Definition
customizer.h:26
rime::Customizer::Customizer
Customizer(const path &source_path, const path &dest_path, const string &version_key)
Definition
customizer.h:14
rime::Customizer::version_key_
string version_key_
Definition
customizer.h:27
rime::Customizer::source_path_
path source_path_
Definition
customizer.h:25
Generated on
for librime by
1.18.0