diff options
Diffstat (limited to 'java/com/tigervnc/rfb/CMsgHandler.java')
-rw-r--r-- | java/com/tigervnc/rfb/CMsgHandler.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/java/com/tigervnc/rfb/CMsgHandler.java b/java/com/tigervnc/rfb/CMsgHandler.java index 653ee703..dd9767e1 100644 --- a/java/com/tigervnc/rfb/CMsgHandler.java +++ b/java/com/tigervnc/rfb/CMsgHandler.java @@ -2,17 +2,17 @@ * Copyright 2009-2011 Pierre Ossman for Cendio AB * Copyright (C) 2011 D. R. Commander. All Rights Reserved. * Copyright (C) 2011 Brian P. Hinz - * + * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This software is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this software; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, @@ -31,7 +31,7 @@ abstract public class CMsgHandler { cp = new ConnParams(); } - public void setDesktopSize(int width, int height) + public void setDesktopSize(int width, int height) { cp.width = width; cp.height = height; @@ -39,10 +39,10 @@ abstract public class CMsgHandler { public void setExtendedDesktopSize(int reason, int result, int width, int height, - ScreenSet layout) + ScreenSet layout) { cp.supportsSetDesktopSize = true; - + if ((reason == screenTypes.reasonClient) && (result != screenTypes.resultSuccess)) return; @@ -54,27 +54,27 @@ abstract public class CMsgHandler { cp.screenLayout = layout; } - public void setPixelFormat(PixelFormat pf) + public void setPixelFormat(PixelFormat pf) { cp.setPF(pf); } - public void setName(String name) + public void setName(String name) { cp.setName(name); } - public void fence(int flags, int len, byte[] data) + public void fence(int flags, int len, byte[] data) { cp.supportsFence = true; } - public void endOfContinuousUpdates() + public void endOfContinuousUpdates() { cp.supportsContinuousUpdates = true; } - public void clientRedirect(int port, String host, + public void clientRedirect(int port, String host, String x509subject) {} public void setCursor(int width, int height, Point hotspot, @@ -86,7 +86,7 @@ abstract public class CMsgHandler { public void beginRect(Rect r, int encoding) {} public void endRect(Rect r, int encoding) {} - public void setColourMapEntries(int firstColour, int nColours, + public void setColourMapEntries(int firstColour, int nColours, int[] rgbs) { } public void bell() {} public void serverCutText(String str, int len) {} |