it-init.h 669 B

1234567891011121314151617181920212223
  1. #ifndef AFUN_IT_INIT_H
  2. #define AFUN_IT_INIT_H
  3. #include "aFunlangExport.h"
  4. #include "aFuncore.h"
  5. namespace aFunit {
  6. struct aFunInitInfo : public aFuncore::InitInfo {
  7. aFuntool::LogLevel lang_level;
  8. inline aFunInitInfo(const std::string &base_dir_,
  9. aFuntool::LogFactory &factor_,
  10. bool log_asyn_,
  11. aFuntool::LogLevel core_level_,
  12. aFuntool::LogLevel lang_level_);
  13. };
  14. AFUN_LANG_EXPORT extern aFuntool::Logger *aFunLogger;
  15. AFUN_LANG_EXPORT bool aFunInit(aFunInitInfo *info);
  16. }
  17. #include "it-init.inline.h"
  18. #endif //AFUN_IT_INIT_H