diff src/viewer_swing/java/com/glavsoft/viewer/ConnectionPresenter.java @ 296:966331aef4b3

add share sound dialog when screen change request.
author oc
date Thu, 15 Jan 2015 03:18:13 +0900
parents ccbc3a951961
children b60780e1fafc
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/ConnectionPresenter.java	Tue Jan 13 15:08:53 2015 +0900
+++ b/src/viewer_swing/java/com/glavsoft/viewer/ConnectionPresenter.java	Thu Jan 15 03:18:13 2015 +0900
@@ -208,6 +208,15 @@
         }
     }
 
+    public boolean showShareSoundDialog() {
+        final ConnectionView connectionView = (ConnectionView) getView(CONNECTION_VIEW);
+        boolean shareSound = false;
+        if (connectionView != null) {
+            shareSound = connectionView.showShareSoundDialog();
+        }
+        return shareSound;
+    }
+
     private void setSshOptions() {
         if (hasSshSupport) {
             try {