aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/rfb/CMsgHandler.java
diff options
context:
space:
mode:
authorBrian Hinz <bphinz@users.sourceforge.net>2011-11-27 20:43:47 +0000
committerBrian Hinz <bphinz@users.sourceforge.net>2011-11-27 20:43:47 +0000
commit13dbd6bb3df3f5b1f8d90f6e1b9c9b474611e9b2 (patch)
tree5f3af5f60c3fa8b00a36a1447712673d62ac101f /java/com/tigervnc/rfb/CMsgHandler.java
parentf5e59aff466e7e647dde7c25c3dc995d4483d7d7 (diff)
downloadtigervnc-13dbd6bb3df3f5b1f8d90f6e1b9c9b474611e9b2.tar.gz
tigervnc-13dbd6bb3df3f5b1f8d90f6e1b9c9b474611e9b2.zip
Sync up java Tight decoder with recent changes to C client as much as possible. These changes should also fix the 16bpp issue reported in bug #3429667. I think there are probably errors in the FilterGradient* code but I can't get any servers to actually send this type of data to test it.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4819 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java/com/tigervnc/rfb/CMsgHandler.java')
-rw-r--r--java/com/tigervnc/rfb/CMsgHandler.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/com/tigervnc/rfb/CMsgHandler.java b/java/com/tigervnc/rfb/CMsgHandler.java
index 81fd2a1b..31182003 100644
--- a/java/com/tigervnc/rfb/CMsgHandler.java
+++ b/java/com/tigervnc/rfb/CMsgHandler.java
@@ -22,7 +22,7 @@
package com.tigervnc.rfb;
-public class CMsgHandler {
+abstract public class CMsgHandler {
public CMsgHandler() {
cp = new ConnParams();
@@ -82,6 +82,8 @@ public class CMsgHandler {
public void imageRect(Rect r, int[] pixels) {}
public void copyRect(Rect r, int srcX, int srcY) {}
+ abstract public PixelFormat getPreferredPF();
+
public ConnParams cp;
static LogWriter vlog = new LogWriter("CMsgHandler");