diff options
author | enikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2008-12-25 10:32:52 +0000 |
---|---|---|
committer | enikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2008-12-25 10:32:52 +0000 |
commit | cbf937dd89de63150bfc11e0cff1a36a4965c2f1 (patch) | |
tree | 980ff85ecd409e8f5b48be0c8cf2b202ea414f47 /java/src/com | |
parent | 5fac708da5d9ac41c33f56cd0f53205db944196f (diff) | |
download | tigervnc-cbf937dd89de63150bfc11e0cff1a36a4965c2f1.tar.gz tigervnc-cbf937dd89de63150bfc11e0cff1a36a4965c2f1.zip |
[Refactoring] Decoders not using RecordInterface no more.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3472 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java/src/com')
-rw-r--r-- | java/src/com/tightvnc/decoder/RawDecoder.java | 6 | ||||
-rw-r--r-- | java/src/com/tightvnc/vncviewer/VncCanvas.java | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/java/src/com/tightvnc/decoder/RawDecoder.java b/java/src/com/tightvnc/decoder/RawDecoder.java index f093b726..9ef167a7 100644 --- a/java/src/com/tightvnc/decoder/RawDecoder.java +++ b/java/src/com/tightvnc/decoder/RawDecoder.java @@ -1,6 +1,5 @@ package com.tightvnc.decoder; -import com.tightvnc.vncviewer.RecordInterface; import com.tightvnc.vncviewer.RfbInputStream; import java.io.IOException; import java.io.DataOutput; @@ -56,10 +55,6 @@ public class RawDecoder { framebufferHeight = h; } - public void setSessionRecorder(RecordInterface ri) { - rec = ri; - } - // // FIXME: Rename this method after we don't need RecordInterface // in RawDecoder class to record session @@ -206,7 +201,6 @@ public class RawDecoder { protected int framebufferHeight = 0; protected RfbInputStream rfbis = null; protected Graphics graphics = null; - protected RecordInterface rec = null; protected DataOutput dos = null; protected boolean enableEncodingRecordWritting = true; diff --git a/java/src/com/tightvnc/vncviewer/VncCanvas.java b/java/src/com/tightvnc/vncviewer/VncCanvas.java index 0041959b..b755e6f0 100644 --- a/java/src/com/tightvnc/vncviewer/VncCanvas.java +++ b/java/src/com/tightvnc/vncviewer/VncCanvas.java @@ -157,7 +157,6 @@ class VncCanvas extends Canvas // for (int i = 0; i < decoders.length; i++) { - decoders[i].setSessionRecorder(this); decoders[i].setDataOutputStream(ros); } |