aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/ClientChannel.h
diff options
context:
space:
mode:
authorFernando Carvajal <fcarvajal@qindel.com>2016-04-12 11:52:22 +0200
committerFernando Carvajal <fcarvajal@qindel.com>2016-04-12 12:07:53 +0200
commita9be6f59105b7cf29bb799556274dc2c3b3d2af8 (patch)
tree555bfeba04b21dc26df16ee5c26a3ec798d02584 /nxcomp/ClientChannel.h
parent2ffe52c5ecb7cf6af111c685eee7f8fcfd1139a9 (diff)
downloadnx-libs-a9be6f59105b7cf29bb799556274dc2c3b3d2af8.tar.gz
nx-libs-a9be6f59105b7cf29bb799556274dc2c3b3d2af8.tar.bz2
nx-libs-a9be6f59105b7cf29bb799556274dc2c3b3d2af8.zip
Remove compatibility code for nxcomp before 3.5.0
As a part of nxcomp's clean-up process, compatibility with old protocol versions has been set now at 3.5.0. This commit removes compatibility code from nxcomp so the minimum supported version changes from 1.5.0 (protocol step 6) to 3.5.0 (protocol step 10). At this moment the removal is not complete and it will be followed by some other commits, in order to get rid of several components and files that are no longer used as they were only needed to work with old protocol versions. Refs: ArcticaProject/nx-libs#108
Diffstat (limited to 'nxcomp/ClientChannel.h')
-rw-r--r--nxcomp/ClientChannel.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/nxcomp/ClientChannel.h b/nxcomp/ClientChannel.h
index 9924bb263..5ec55595c 100644
--- a/nxcomp/ClientChannel.h
+++ b/nxcomp/ClientChannel.h
@@ -158,23 +158,6 @@ class ClientChannel : public Channel
int handleTaintRequest(unsigned char &opcode, const unsigned char *&buffer,
unsigned int &size)
{
- if (control -> isProtoStep7() == 0)
- {
- if (opcode == X_NXFreeSplit || opcode == X_NXAbortSplit ||
- opcode == X_NXFinishSplit)
- {
- return handleTaintSplitRequest(opcode, buffer, size);
- }
- else if (opcode == X_NXSetCacheParameters)
- {
- return handleTaintCacheRequest(opcode, buffer, size);
- }
- else if (opcode == X_NXGetFontParameters)
- {
- return handleTaintFontRequest(opcode, buffer, size);
- }
- }
-
if (control -> TaintReplies > 0 &&
opcode == X_GetInputFocus)
{
@@ -190,15 +173,6 @@ class ClientChannel : public Channel
return 0;
}
- int handleTaintCacheRequest(unsigned char &opcode, const unsigned char *&buffer,
- unsigned int &size);
-
- int handleTaintFontRequest(unsigned char &opcode, const unsigned char *&buffer,
- unsigned int &size);
-
- int handleTaintSplitRequest(unsigned char &opcode, const unsigned char *&buffer,
- unsigned int &size);
-
int handleTaintLameRequest(unsigned char &opcode, const unsigned char *&buffer,
unsigned int &size);
@@ -261,20 +235,6 @@ class ClientChannel : public Channel
int handleSplitChecksum(EncodeBuffer &encodeBuffer, T_checksum checksum);
- void handleSplitEnable()
- {
- if (control -> isProtoStep7() == 0)
- {
- #if defined(TEST) || defined(SPLIT)
- *logofs << "handleSplitEnable: WARNING! Disabling split "
- << "with an old proxy version.\n"
- << logofs_flush;
- #endif
-
- enableSplit_ = 0;
- }
- }
-
void handleSplitPending(int resource)
{
if (splitState_.pending == 0)