it-init.h 709 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::Logger &afun_logger;
  8. AFUN_INLINE aFunInitInfo(aFuntool::LogFactory &factor_,
  9. aFuntool::Logger &afun_logger_,
  10. aFuntool::Logger &core_logger_,
  11. aFuntool::Logger &sys_logger_);
  12. };
  13. AFUN_LANG_EXPORT extern aFuntool::Logger *aFunLogger;
  14. AFUN_LANG_EXPORT bool aFunInit(aFunInitInfo *info);
  15. AFUN_STATIC void setAFunLogger(aFuntool::Logger *log);
  16. }
  17. #include "it-init.inline.h"
  18. #endif //AFUN_IT_INIT_H