summaryrefslogtreecommitdiffstats
path: root/common/rfb/SecurityServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/SecurityServer.h')
-rw-r--r--common/rfb/SecurityServer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/rfb/SecurityServer.h b/common/rfb/SecurityServer.h
index 019d67fc..354f6420 100644
--- a/common/rfb/SecurityServer.h
+++ b/common/rfb/SecurityServer.h
@@ -24,7 +24,8 @@
#include <rfb/Security.h>
namespace rfb {
-
+
+ class SConnection;
class SSecurity;
class SecurityServer : public Security {
@@ -32,7 +33,7 @@ namespace rfb {
SecurityServer(void) : Security(secTypes) {}
/* Create server side SSecurity class instance */
- SSecurity* GetSSecurity(rdr::U32 secType);
+ SSecurity* GetSSecurity(SConnection* sc, rdr::U32 secType);
static StringParameter secTypes;
};