[tools] update-settings-tests, update-rdpSettings, clang-format

This commit is contained in:
Mariusz Bialonczyk 2023-10-19 11:58:13 +02:00 committed by akallabeth
parent 550ba7fe34
commit 1d1171489f
3 changed files with 10 additions and 0 deletions

View File

@ -1678,6 +1678,9 @@ UINT32 freerdp_settings_get_uint32(const rdpSettings* settings, size_t id)
case FreeRDP_ExtEncryptionMethods:
return settings->ExtEncryptionMethods;
case FreeRDP_FakeMouseMotionInterval:
return settings->FakeMouseMotionInterval;
case FreeRDP_Floatbar:
return settings->Floatbar;
@ -2105,6 +2108,10 @@ BOOL freerdp_settings_set_uint32(rdpSettings* settings, size_t id, UINT32 val)
settings->ExtEncryptionMethods = cnv.c;
break;
case FreeRDP_FakeMouseMotionInterval:
settings->FakeMouseMotionInterval = cnv.c;
break;
case FreeRDP_Floatbar:
settings->Floatbar = cnv.c;
break;

View File

@ -316,6 +316,8 @@ static const struct settings_str_entry settings_map[] = {
{ FreeRDP_EncryptionLevel, FREERDP_SETTINGS_TYPE_UINT32, "FreeRDP_EncryptionLevel" },
{ FreeRDP_EncryptionMethods, FREERDP_SETTINGS_TYPE_UINT32, "FreeRDP_EncryptionMethods" },
{ FreeRDP_ExtEncryptionMethods, FREERDP_SETTINGS_TYPE_UINT32, "FreeRDP_ExtEncryptionMethods" },
{ FreeRDP_FakeMouseMotionInterval, FREERDP_SETTINGS_TYPE_UINT32,
"FreeRDP_FakeMouseMotionInterval" },
{ FreeRDP_Floatbar, FREERDP_SETTINGS_TYPE_UINT32, "FreeRDP_Floatbar" },
{ FreeRDP_FrameAcknowledge, FREERDP_SETTINGS_TYPE_UINT32, "FreeRDP_FrameAcknowledge" },
{ FreeRDP_GatewayAcceptedCertLength, FREERDP_SETTINGS_TYPE_UINT32,

View File

@ -248,6 +248,7 @@ static const size_t uint32_list_indices[] = {
FreeRDP_EncryptionLevel,
FreeRDP_EncryptionMethods,
FreeRDP_ExtEncryptionMethods,
FreeRDP_FakeMouseMotionInterval,
FreeRDP_Floatbar,
FreeRDP_FrameAcknowledge,
FreeRDP_GatewayAcceptedCertLength,