Using constants defined in TightDecoder.h, instead of hardcoded values


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@16 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfb/TightDecoder.h b/rfb/TightDecoder.h
index 4403b38..7ca6f62 100644
--- a/rfb/TightDecoder.h
+++ b/rfb/TightDecoder.h
@@ -33,6 +33,17 @@
     CMsgReader* reader;
     rdr::ZlibInStream zis[4];
   };
+
+  /* Compression control */
+  const unsigned int rfbTightExplicitFilter = 0x04;
+  const unsigned int rfbTightFill = 0x08;
+  const unsigned int rfbTightJpeg = 0x09;
+  const unsigned int rfbTightMaxSubencoding = 0x09;
+
+  /* Filters to improve compression efficiency */
+  const unsigned int rfbTightFilterCopy = 0x00;
+  const unsigned int rfbTightFilterPalette = 0x01;
+  const unsigned int rfbTightFilterGradient = 0x02;
 }
 
 #endif