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 12 namespace rime { 13 14 RIME_API extern const char* kDefaultModules[]; 15 extern const char* kDeployerModules[]; 16 extern const char* kLegacyModules[]; 17 18 RIME_API void LoadModules(const char* module_names[]); 19 20 RIME_API void SetupDeployer(RimeTraits *traits); 21 22 RIME_API void SetupLogging(const char* app_name, int min_log_level, const char* log_dir); 23 RIME_API void SetupLogging(const char* app_name); 24 25 } // namespace rime 26 27 #endif // RIME_SETUP_H_ 28