// // Created by loki on 12/22/19. // #ifndef SUNSHINE_MAIN_H #define SUNSHINE_MAIN_H #include "thread_pool.h" #include extern util::ThreadPool task_pool; extern bool display_cursor; extern boost::log::sources::severity_logger verbose; extern boost::log::sources::severity_logger debug; extern boost::log::sources::severity_logger info; extern boost::log::sources::severity_logger warning; extern boost::log::sources::severity_logger error; extern boost::log::sources::severity_logger fatal; void log_flush(); std::string read_file(const char *path); int write_file(const char *path, const std::string_view &contents); #endif //SUNSHINE_MAIN_H