diff options
author | Adam Tkac <atkac@redhat.com> | 2010-10-01 08:33:29 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2010-10-01 08:33:29 +0000 |
commit | bfd66c1e8c526dff1757bf349c9bb4d87906265f (patch) | |
tree | 35bc549a432e2b823e215483e666afb2e832ebbe /common/rfb/Security.h | |
parent | ef5e17fe2f7c0ab7b47aa616960dfa9fffd7425a (diff) | |
download | tigervnc-bfd66c1e8c526dff1757bf349c9bb4d87906265f.tar.gz tigervnc-bfd66c1e8c526dff1757bf349c9bb4d87906265f.zip |
[Development] Move Get{C,S}Security from Security class to separate classes.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4156 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/Security.h')
-rw-r--r-- | common/rfb/Security.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/common/rfb/Security.h b/common/rfb/Security.h index 7b9fd407..8c90d764 100644 --- a/common/rfb/Security.h +++ b/common/rfb/Security.h @@ -60,14 +60,12 @@ namespace rfb { const rdr::U32 secResultFailed = 1; const rdr::U32 secResultTooMany = 2; // deprecated - enum SecurityClassType { SecurityViewer, SecurityServer }; - class Security { public: /* * Create Security instance. */ - Security(SecurityClassType secClassType); + Security(StringParameter &secTypes); /* * Note about security types. @@ -90,15 +88,6 @@ namespace rfb { /* Get list of enabled VeNCrypt subtypes */ const std::list<rdr::U32> GetEnabledExtSecTypes(void); - /* Create server side SSecurity class instance */ - SSecurity* GetSSecurity(rdr::U32 secType); - - /* Create client side CSecurity class instance */ - CSecurity* GetCSecurity(rdr::U32 secType); - - static StringParameter secTypesViewer; - static StringParameter secTypesServer; - private: std::list<rdr::U32> enabledSecTypes; }; |