Browse Source

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
tags/v1.1.90
Pierre Ossman 13 years ago
parent
commit
e5fe070117
2 changed files with 5 additions and 0 deletions
  1. 4
    0
      common/rfb/Security.cxx
  2. 1
    0
      common/rfb/Security.h

+ 4
- 0
common/rfb/Security.cxx View File

@@ -52,6 +52,10 @@ using namespace std;

static LogWriter vlog("Security");

Security::Security()
{
}

Security::Security(StringParameter &secTypes)
{
char *secTypesStr;

+ 1
- 0
common/rfb/Security.h View File

@@ -65,6 +65,7 @@ namespace rfb {
/*
* Create Security instance.
*/
Security();
Security(StringParameter &secTypes);

/*

Loading…
Cancel
Save