]> source.dussan.org Git - tigervnc.git/commitdiff
[Development] Allow to set security types directly in the Security class
authorAdam Tkac <atkac@redhat.com>
Tue, 1 Feb 2011 14:34:30 +0000 (14:34 +0000)
committerAdam Tkac <atkac@redhat.com>
Tue, 1 Feb 2011 14:34:30 +0000 (14:34 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4244 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/Security.h

index 8c90d7642915b8ba22a504e098156494342c1e83..c5527dc6a2090c644e592367e7751026c2a69716 100644 (file)
@@ -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);