diff src/viewer_swing/java/com/glavsoft/viewer/Viewer.java @ 379:ea324e42bc78

Add arguments to startTreeViewer method
author innparusu
date Tue, 01 Sep 2015 16:50:40 +0900
parents 877008c86e85
children 7d55adebcacb
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java	Tue Sep 01 15:04:10 2015 +0900
+++ b/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java	Tue Sep 01 16:50:40 2015 +0900
@@ -343,9 +343,10 @@
     /**
      * start TreeVNC viewer
      */
-    public void startTreeViewer(String hostName,boolean cui) {
+    public void startTreeViewer(String hostName, boolean cui, boolean addSerialNum) {
         TreeRFBProto rfb = new TreeRFBProto(false, this);
         rfb.setCuiVersion(cui);
+        rfb.setAddSerialNum(addSerialNum);
         rfb.setHasViewer(true);
         rfb.createConnectionAndStart(this);
         CreateConnectionParam cp = new CreateConnectionParam(rfb);