Feat: Add privilege column (SYSTEM/Admin/User) to online host list
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user