aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/Control.cpp
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-11-13 09:27:52 +0100
committerReinhard Tartler <siretart@tauware.de>2011-11-13 09:27:52 +0100
commit92239dafb601d2ee5da1554d19631267c81fe57c (patch)
tree8a2b406e1d1c66c459e6c4dc3f908b60d2feacd1 /nxcomp/Control.cpp
parentd7a8d67d760a80962821f6951caee5a9c807f5be (diff)
downloadnx-libs-cdcbbeb5df60c1b77567a1c5084971c2543f2824.tar.gz
nx-libs-cdcbbeb5df60c1b77567a1c5084971c2543f2824.tar.bz2
nx-libs-cdcbbeb5df60c1b77567a1c5084971c2543f2824.zip
Imported nxcomp-3.2.0-6.tar.gznxcomp/3.2.0-6
Summary: Imported nxcomp-3.2.0-6.tar.gz Keywords: Imported nxcomp-3.2.0-6.tar.gz into Git repository
Diffstat (limited to 'nxcomp/Control.cpp')
-rwxr-xr-xnxcomp/Control.cpp61
1 files changed, 40 insertions, 21 deletions
diff --git a/nxcomp/Control.cpp b/nxcomp/Control.cpp
index e6693d44c..19105beef 100755
--- a/nxcomp/Control.cpp
+++ b/nxcomp/Control.cpp
@@ -659,10 +659,11 @@ Control::Control()
// time the session is negotiated.
//
- protoStep6_ = 0;
- protoStep7_ = 0;
- protoStep8_ = 0;
- protoStep9_ = 0;
+ protoStep6_ = 0;
+ protoStep7_ = 0;
+ protoStep8_ = 0;
+ protoStep9_ = 0;
+ protoStep10_ = 0;
}
Control::~Control()
@@ -734,37 +735,51 @@ void Control::setProtoStep(int step)
{
case 6:
{
- protoStep6_ = 1;
- protoStep7_ = 0;
- protoStep8_ = 0;
- protoStep9_ = 0;
+ protoStep6_ = 1;
+ protoStep7_ = 0;
+ protoStep8_ = 0;
+ protoStep9_ = 0;
+ protoStep10_ = 0;
break;
}
case 7:
{
- protoStep6_ = 1;
- protoStep7_ = 1;
- protoStep8_ = 0;
- protoStep9_ = 0;
+ protoStep6_ = 1;
+ protoStep7_ = 1;
+ protoStep8_ = 0;
+ protoStep9_ = 0;
+ protoStep10_ = 0;
break;
}
case 8:
{
- protoStep6_ = 1;
- protoStep7_ = 1;
- protoStep8_ = 1;
- protoStep9_ = 0;
+ protoStep6_ = 1;
+ protoStep7_ = 1;
+ protoStep8_ = 1;
+ protoStep9_ = 0;
+ protoStep10_ = 0;
break;
}
case 9:
{
- protoStep6_ = 1;
- protoStep7_ = 1;
- protoStep8_ = 1;
- protoStep9_ = 1;
+ protoStep6_ = 1;
+ protoStep7_ = 1;
+ protoStep8_ = 1;
+ protoStep9_ = 1;
+ protoStep10_ = 0;
+
+ break;
+ }
+ case 10:
+ {
+ protoStep6_ = 1;
+ protoStep7_ = 1;
+ protoStep8_ = 1;
+ protoStep9_ = 1;
+ protoStep10_ = 1;
break;
}
@@ -783,7 +798,11 @@ void Control::setProtoStep(int step)
int Control::getProtoStep()
{
- if (protoStep9_ == 1)
+ if (protoStep10_ == 1)
+ {
+ return 10;
+ }
+ else if (protoStep9_ == 1)
{
return 9;
}