style: Format source code and support grouping client

This commit is contained in:
yuanyuanxiang
2025-10-15 04:32:59 +08:00
parent 77087d2e06
commit 6b81ad1f81
244 changed files with 43052 additions and 42562 deletions

View File

@@ -35,16 +35,18 @@ protected:
CStatusBar m_wndStatusBar;
IPConverter* m_IPConverter;
CLocker m_Locker;
bool IsReceivingData() {
bool IsReceivingData()
{
m_Locker.Lock();
auto r = m_bIsReceiving;
m_Locker.Unlock();
return r;
}
void SetReceivingStatus(bool b) {
m_Locker.Lock();
m_bIsReceiving = b;
m_Locker.Unlock();
void SetReceivingStatus(bool b)
{
m_Locker.Lock();
m_bIsReceiving = b;
m_Locker.Unlock();
}
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);