--- jsampler/trunk/src/org/jsampler/view/JSMainFrame.java 2008/02/14 14:59:30 1687 +++ jsampler/trunk/src/org/jsampler/view/JSMainFrame.java 2008/02/14 16:52:36 1688 @@ -37,6 +37,7 @@ import org.jsampler.CC; import org.jsampler.JSampler; import org.jsampler.Prefs; +import org.jsampler.Server; import org.jsampler.event.SamplerChannelListEvent; import org.jsampler.event.SamplerChannelListListener; @@ -158,6 +159,19 @@ public abstract JSChannelsPane getSelectedChannelsPane(); /** + * Gets the server address to which to connect. If the server should be + * manually selected, a dialog asking the user to choose a server is displayed. + */ + public abstract Server getServer(); + + /** + * Gets the server address to which to connect. If the server should be + * manually selected, a dialog asking the user to choose a server is displayed. + * @param manualSelect Determines whether the server should be manually selected. + */ + public abstract Server getServer(boolean manualSelect); + + /** * Sets the JSChannelsPane to be selected. * @param pane The JSChannelsPane to be shown. */