aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-05-16 12:46:16 +0000
committerPierre Ossman <ossman@cendio.se>2011-05-16 12:46:16 +0000
commite5fe0701176438e373ca283cc0d08fe8e6ba8255 (patch)
tree85a272bb3b4fcd0a4bf3a930f9002fdb7c411f2b
parent2eb1d11004ad23ffd1a044fca1cb96aa77bb42c9 (diff)
downloadtigervnc-e5fe0701176438e373ca283cc0d08fe8e6ba8255.tar.gz
tigervnc-e5fe0701176438e373ca283cc0d08fe8e6ba8255.zip
Add a default constructor so that you can create empty Security objects.
Useful when you just want to use the string encoder. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4418 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--common/rfb/Security.cxx4
-rw-r--r--common/rfb/Security.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/common/rfb/Security.cxx b/common/rfb/Security.cxx
index e51c8919..b5f361e9 100644
--- a/common/rfb/Security.cxx
+++ b/common/rfb/Security.cxx
@@ -52,6 +52,10 @@ using namespace std;
static LogWriter vlog("Security");
+Security::Security()
+{
+}
+
Security::Security(StringParameter &secTypes)
{
char *secTypesStr;
diff --git a/common/rfb/Security.h b/common/rfb/Security.h
index 832735a3..196eb429 100644
--- a/common/rfb/Security.h
+++ b/common/rfb/Security.h
@@ -65,6 +65,7 @@ namespace rfb {
/*
* Create Security instance.
*/
+ Security();
Security(StringParameter &secTypes);
/*