diff options
author | enikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2008-12-25 10:38:30 +0000 |
---|---|---|
committer | enikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2008-12-25 10:38:30 +0000 |
commit | a0a955fef9b54cd6d722c3096966c17b3094fe68 (patch) | |
tree | 08355da5d9b97b176b6d369707d7979fffa576c8 | |
parent | cbf937dd89de63150bfc11e0cff1a36a4965c2f1 (diff) | |
download | tigervnc-a0a955fef9b54cd6d722c3096966c17b3094fe68.tar.gz tigervnc-a0a955fef9b54cd6d722c3096966c17b3094fe68.zip |
[Refactoring] Removed unused method "isRecordFromBeggining".
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3473 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r-- | java/src/com/tightvnc/vncviewer/RecordInterface.java | 2 | ||||
-rw-r--r-- | java/src/com/tightvnc/vncviewer/VncCanvas.java | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/java/src/com/tightvnc/vncviewer/RecordInterface.java b/java/src/com/tightvnc/vncviewer/RecordInterface.java index 880d6144..31fb79ed 100644 --- a/java/src/com/tightvnc/vncviewer/RecordInterface.java +++ b/java/src/com/tightvnc/vncviewer/RecordInterface.java @@ -10,12 +10,12 @@ public interface RecordInterface { // // Recording state methods // - public boolean isRecordFromBeginning(); public boolean canWrite(); // // Write data methods // + public void write(byte b[]) throws IOException; public void write(byte b[], int off, int len) throws IOException; public void writeByte(byte b) throws IOException; diff --git a/java/src/com/tightvnc/vncviewer/VncCanvas.java b/java/src/com/tightvnc/vncviewer/VncCanvas.java index b755e6f0..21ab2ee2 100644 --- a/java/src/com/tightvnc/vncviewer/VncCanvas.java +++ b/java/src/com/tightvnc/vncviewer/VncCanvas.java @@ -161,7 +161,6 @@ class VncCanvas extends Canvas } setPixelFormat(); - resetSelection(); inputEnabled = false; @@ -1279,11 +1278,6 @@ class VncCanvas extends Canvas // Override RecordInterface methods // - public boolean isRecordFromBeginning() { - return false; - //return rfb.recordFromBeginning; - } - public boolean canWrite() { // We can record if rec is not null return rfb.rec != null; |