12345678910111213141516171819202122 |
- #ifndef AFUN_INIT_H
- #define AFUN_INIT_H
- #include "aFuntool.h"
- #include "aFunCoreExport.h"
- namespace aFuncore {
- struct InitInfo {
- const std::string &base_dir;
- aFuntool::LogFactory &factor;
- bool log_asyn;
- aFuntool::LogLevel level;
- };
- AFUN_CORE_EXPORT extern std::string log_path;
- AFUN_CORE_EXPORT extern std::string lang_path;
- AFUN_CORE_EXPORT extern std::string varlib_path;
- AFUN_CORE_EXPORT extern aFuntool::Logger *aFunCoreLogger;
- AFUN_CORE_EXPORT bool aFunCoreInit(InitInfo *info);
- }
- #endif //AFUN_INIT_H
|