tab统一替换为4个空格键:#242

This commit is contained in:
xiongziliang
2020-03-20 11:51:24 +08:00
parent 2a0d78fd12
commit 1168174c2b
84 changed files with 6541 additions and 6520 deletions

View File

@@ -37,23 +37,23 @@ namespace mediakit {
class ShellSession: public TcpSession {
public:
ShellSession(const Socket::Ptr &_sock);
virtual ~ShellSession();
ShellSession(const Socket::Ptr &_sock);
virtual ~ShellSession();
void onRecv(const Buffer::Ptr &) override;
void onRecv(const Buffer::Ptr &) override;
void onError(const SockException &err) override;
void onManager() override;
void onManager() override;
private:
inline bool onCommandLine(const string &);
inline void pleaseInputUser();
inline void pleaseInputPasswd();
inline void printShellPrefix();
inline bool onCommandLine(const string &);
inline void pleaseInputUser();
inline void pleaseInputPasswd();
inline void printShellPrefix();
function<bool(const string &)> _loginInterceptor;
string _strRecvBuf;
Ticker _beatTicker;
string _strUserName;
function<bool(const string &)> _loginInterceptor;
string _strRecvBuf;
Ticker _beatTicker;
string _strUserName;
};
} /* namespace mediakit */