#pragma once #include #include "common/Logger.h" #include "Operator.h" class Application { public: static Application& instance() { static Application app; return app; } void init(); bool isQuit() { return isQuit_; } Operator& getOperator() { return op_; } void runThreadMain(); private: bool isQuit_ = false; // 登录的管理员信息 Operator op_; };