librime: setup.h Source File

| librime 1.2 Rime Input Method Engine, the core library

setup.h
Go to the documentation of this file.
1//
2// Copyright RIME Developers
3// Distributed under the BSD License
4//
5// 2013-10-17 GONG Chen <chen.sst@gmail.com>
6//
7#ifndef RIME_SETUP_H_
8#define RIME_SETUP_H_
9
10#include <rime_api.h>
11
12namespace rime {
13
14 RIME_DLL extern const char* kDefaultModules[];
15 RIME_DLL extern const char* kDeployerModules[];
16extern const char* kLegacyModules[];
17
18 RIME_DLL void LoadModules(const char* module_names[]);
19
20 RIME_DLL void SetupDeployer(RimeTraits* traits);
21
22 RIME_DLL void SetupLogging(const char* app_name,
23 int min_log_level,
24 const char* log_dir);
25 RIME_DLL void SetupLogging(const char* app_name);
26
27} // namespace rime
28
29#endif // RIME_SETUP_H_
rime_api.h
RIME_DLL
#define RIME_DLL
Definition rime_api.h:33
RimeTraits
struct rime_traits_t RimeTraits
Rime traits structure.
rime
Definition algebra.cc:12
rime::LoadModules
RIME_DLL void LoadModules(const char *module_names[])
Definition setup.cc:33
rime::kDefaultModules
RIME_DLL const char * kDefaultModules[]
rime::kDeployerModules
RIME_DLL const char * kDeployerModules[]
rime::SetupLogging
RIME_DLL void SetupLogging(const char *app_name, int min_log_level, const char *log_dir)
Definition setup.cc:68
rime::SetupDeployer
RIME_DLL void SetupDeployer(RimeTraits *traits)
Definition setup.cc:42
rime::kLegacyModules
const char * kLegacyModules[]