Feat: Add privilege column (SYSTEM/Admin/User) to online host list
This commit is contained in:
@@ -102,18 +102,19 @@ void NotifySettingsDlg::PopulateComboBoxes()
|
||||
// Column combo - use translatable strings
|
||||
m_comboNotifyColumn.ResetContent();
|
||||
struct { int id; const TCHAR* name; } columns[] = {
|
||||
{ 0, _T("IP地址") },
|
||||
{ 1, _T("地址") },
|
||||
{ 2, _T("地理位置") },
|
||||
{ 3, _T("计算机名") },
|
||||
{ 4, _T("操作系统") },
|
||||
{ 5, _T("CPU") },
|
||||
{ 6, _T("摄像头") },
|
||||
{ 7, _T("延迟") },
|
||||
{ 8, _T("版本") },
|
||||
{ 9, _T("安装时间") },
|
||||
{ 10, _T("活动窗口") },
|
||||
{ 11, _T("客户端类型") },
|
||||
{ ONLINELIST_IP, _T("IP地址") },
|
||||
{ ONLINELIST_ADDR, _T("地址") },
|
||||
{ ONLINELIST_LOCATION, _T("地理位置") },
|
||||
{ ONLINELIST_COMPUTER_NAME,_T("计算机名") },
|
||||
{ ONLINELIST_OS, _T("操作系统") },
|
||||
{ ONLINELIST_CPU, _T("CPU") },
|
||||
{ ONLINELIST_VIDEO, _T("摄像头") },
|
||||
{ ONLINELIST_PING, _T("延迟") },
|
||||
{ ONLINELIST_VERSION, _T("版本") },
|
||||
{ ONLINELIST_PRIVILEGE, _T("权限") },
|
||||
{ ONLINELIST_INSTALLTIME, _T("安装时间") },
|
||||
{ ONLINELIST_LOGINTIME, _T("活动窗口") },
|
||||
{ ONLINELIST_CLIENTTYPE, _T("客户端类型") },
|
||||
};
|
||||
for (const auto& col : columns) {
|
||||
CString item;
|
||||
|
||||
Reference in New Issue
Block a user