diff options
-rw-r--r-- | common/rfb/Security.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/rfb/Security.h b/common/rfb/Security.h index 8c90d764..c5527dc6 100644 --- a/common/rfb/Security.h +++ b/common/rfb/Security.h @@ -80,6 +80,8 @@ namespace rfb { void EnableSecType(rdr::U32 secType); void DisableSecType(rdr::U32 secType) { enabledSecTypes.remove(secType); } + void SetSecTypes(std::list<rdr::U32> &secTypes) { enabledSecTypes = secTypes; } + /* Check if certain type is supported */ bool IsSupported(rdr::U32 secType); |