[core,aad] unify client id

* use a setting to make it configurable
This commit is contained in:
akallabeth
2024-10-29 08:42:03 +01:00
parent b2756842b2
commit 1905117465
7 changed files with 33 additions and 10 deletions

View File

@@ -163,7 +163,7 @@ def write_setter(f, entry_dict, entry_type, entry_name, postfix):
f.write('BOOL freerdp_settings_set_' + entry_name.lower())
f.write(postfix)
f.write('(rdpSettings* settings, ' + typestr + ' id, ')
if isString and len(postfix) > 0 or isPointer:
if isString or isPointer:
f.write('const ')
if not isPointer:
f.write(entry_type + ' val')
@@ -256,6 +256,8 @@ try:
continue
if 'padding' in sline:
continue
if 'version' in sline:
continue
if sline.startswith('SETTINGS_DEPRECATED(ALIGN64'):
sline = sline[27:].strip()