diff options
author | Adam Tkac <atkac@redhat.com> | 2010-04-23 14:07:41 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2010-04-23 14:07:41 +0000 |
commit | a6578bfc986695bf9e5d4272b6d2e57516aa4cbf (patch) | |
tree | ff36c03b224765b677ca1c13d670c41d5b47e2c4 /common/rfb/SConnection.h | |
parent | 1d15e2d60a171a43c83e51a1343727701ac34f4b (diff) | |
download | tigervnc-a6578bfc986695bf9e5d4272b6d2e57516aa4cbf.tar.gz tigervnc-a6578bfc986695bf9e5d4272b6d2e57516aa4cbf.zip |
[Development] Replace SSecurityFactoryStandard class by simplier Security class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4039 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/SConnection.h')
-rw-r--r-- | common/rfb/SConnection.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/common/rfb/SConnection.h b/common/rfb/SConnection.h index e41ef5fb..e139f15f 100644 --- a/common/rfb/SConnection.h +++ b/common/rfb/SConnection.h @@ -26,6 +26,7 @@ #include <rdr/InStream.h> #include <rdr/OutStream.h> #include <rfb/SMsgHandler.h> +#include <rfb/Security.h> #include <rfb/SSecurity.h> namespace rfb { @@ -37,7 +38,7 @@ namespace rfb { class SConnection : public SMsgHandler { public: - SConnection(SSecurityFactory* sf, bool reverseConnection_); + SConnection(bool reverseConnection_); virtual ~SConnection(); // Methods to initialise the connection @@ -167,10 +168,6 @@ namespace rfb { stateEnum state() { return state_; } - // ssecurity() returns a pointer to this connection's SSecurity object, if - // any - const SSecurity* ssecurity() const { return security; } - protected: void setState(stateEnum s) { state_ = s; } @@ -194,8 +191,8 @@ namespace rfb { rdr::OutStream* os; SMsgReader* reader_; SMsgWriter* writer_; - SSecurity* security; - SSecurityFactory* securityFactory; + Security *security; + SSecurity* ssecurity; stateEnum state_; bool reverseConnection; }; |