librime 1.2
Rime Input Method Engine, the core library
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
10namespace rime {
11
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:
28};
29
30} // namespace rime
31
32#endif // RIME_CUSTOMIZER_H_
Definition algebra.cc:12
Definition common.h:84
bool UpdateConfigFile()
Definition customizer.cc:32
path dest_path_
Definition customizer.h:26
Customizer(const path &source_path, const path &dest_path, const string &version_key)
Definition customizer.h:14
string version_key_
Definition customizer.h:27
path source_path_
Definition customizer.h:25