Feat: Add privilege column (SYSTEM/Admin/User) to online host list

This commit is contained in:
yuanyuanxiang committed 2026-07-01 09:32:28 +02:00
1 parent bcccbefb77
commit 6d0b1bb07b
6 files changed
+39 -29

No files matched your search

+11 -10
View File
@@ -96,17 +96,18 @@ struct NotifyConfig {
inline const char* GetColumnName(int index) {
static const char* names[] = {
"IP", // 0
"Address", // 1
"Location", // 2
"Address", // 1
"Location", // 2
"ComputerName", // 3
"OS", // 4
"CPU", // 5
"Camera", // 6
"RTT", // 7
"Version", // 8
"InstallTime", // 9
"ActiveWindow", // 10
"ClientType", // 11
"OS", // 4
"CPU", // 5
"Camera", // 6
"RTT", // 7
"Version", // 8
"Privilege", // 9 ONLINELIST_PRIVILEGE
"InstallTime", // 10 ONLINELIST_INSTALLTIME
"ActiveWindow", // 11 ONLINELIST_LOGINTIME
"ClientType", // 12 ONLINELIST_CLIENTTYPE
};
if (index >= 0 && index < sizeof(names)/sizeof(names[0])) {
return names[index];