[settings] add ClipboardUseSelection
This commit is contained in:
parent
22e2d49702
commit
4d99b4ff9b
@ -924,6 +924,7 @@ extern "C"
|
||||
#define FreeRDP_PreferIPv6OverIPv4 (4674)
|
||||
#define FreeRDP_RedirectClipboard (4800)
|
||||
#define FreeRDP_ClipboardFeatureMask (4801)
|
||||
#define FreeRDP_ClipboardUseSelection (4802)
|
||||
#define FreeRDP_StaticChannelCount (4928)
|
||||
#define FreeRDP_StaticChannelArraySize (4929)
|
||||
#define FreeRDP_StaticChannelArray (4930)
|
||||
@ -1656,7 +1657,8 @@ extern "C"
|
||||
|
||||
ALIGN64 BOOL RedirectClipboard; /* 4800 */
|
||||
ALIGN64 UINT32 ClipboardFeatureMask; /* 4801 */
|
||||
UINT64 padding4928[4928 - 4802]; /* 4802 */
|
||||
ALIGN64 char* ClipboardUseSelection; /* 4802 */
|
||||
UINT64 padding4928[4928 - 4803]; /* 4803 */
|
||||
|
||||
/**
|
||||
* Static Virtual Channels
|
||||
|
@ -2636,6 +2636,9 @@ const char* freerdp_settings_get_string(const rdpSettings* settings, size_t id)
|
||||
case FreeRDP_ClientProductId:
|
||||
return settings->ClientProductId;
|
||||
|
||||
case FreeRDP_ClipboardUseSelection:
|
||||
return settings->ClipboardUseSelection;
|
||||
|
||||
case FreeRDP_ComputerName:
|
||||
return settings->ComputerName;
|
||||
|
||||
@ -2938,6 +2941,9 @@ char* freerdp_settings_get_string_writable(rdpSettings* settings, size_t id)
|
||||
case FreeRDP_ClientProductId:
|
||||
return settings->ClientProductId;
|
||||
|
||||
case FreeRDP_ClipboardUseSelection:
|
||||
return settings->ClipboardUseSelection;
|
||||
|
||||
case FreeRDP_ComputerName:
|
||||
return settings->ComputerName;
|
||||
|
||||
@ -3249,6 +3255,9 @@ BOOL freerdp_settings_set_string_(rdpSettings* settings, size_t id, char* val, s
|
||||
case FreeRDP_ClientProductId:
|
||||
return update_string_(&settings->ClientProductId, cnv.c, len);
|
||||
|
||||
case FreeRDP_ClipboardUseSelection:
|
||||
return update_string_(&settings->ClipboardUseSelection, cnv.c, len);
|
||||
|
||||
case FreeRDP_ComputerName:
|
||||
return update_string_(&settings->ComputerName, cnv.c, len);
|
||||
|
||||
@ -3576,6 +3585,9 @@ BOOL freerdp_settings_set_string_copy_(rdpSettings* settings, size_t id, const c
|
||||
case FreeRDP_ClientProductId:
|
||||
return update_string_copy_(&settings->ClientProductId, cnv.cc, len, cleanup);
|
||||
|
||||
case FreeRDP_ClipboardUseSelection:
|
||||
return update_string_copy_(&settings->ClipboardUseSelection, cnv.cc, len, cleanup);
|
||||
|
||||
case FreeRDP_ComputerName:
|
||||
return update_string_copy_(&settings->ComputerName, cnv.cc, len, cleanup);
|
||||
|
||||
|
@ -450,6 +450,8 @@ static const struct settings_str_entry settings_map[] = {
|
||||
{ FreeRDP_ClientDir, FREERDP_SETTINGS_TYPE_STRING, "FreeRDP_ClientDir" },
|
||||
{ FreeRDP_ClientHostname, FREERDP_SETTINGS_TYPE_STRING, "FreeRDP_ClientHostname" },
|
||||
{ FreeRDP_ClientProductId, FREERDP_SETTINGS_TYPE_STRING, "FreeRDP_ClientProductId" },
|
||||
{ FreeRDP_ClipboardUseSelection, FREERDP_SETTINGS_TYPE_STRING,
|
||||
"FreeRDP_ClipboardUseSelection" },
|
||||
{ FreeRDP_ComputerName, FREERDP_SETTINGS_TYPE_STRING, "FreeRDP_ComputerName" },
|
||||
{ FreeRDP_ConfigPath, FREERDP_SETTINGS_TYPE_STRING, "FreeRDP_ConfigPath" },
|
||||
{ FreeRDP_ConnectionFile, FREERDP_SETTINGS_TYPE_STRING, "FreeRDP_ConnectionFile" },
|
||||
|
@ -362,6 +362,7 @@ static const size_t string_list_indices[] = {
|
||||
FreeRDP_ClientDir,
|
||||
FreeRDP_ClientHostname,
|
||||
FreeRDP_ClientProductId,
|
||||
FreeRDP_ClipboardUseSelection,
|
||||
FreeRDP_ComputerName,
|
||||
FreeRDP_ConfigPath,
|
||||
FreeRDP_ConnectionFile,
|
||||
|
Loading…
Reference in New Issue
Block a user