summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/ILoginPanel.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/view/ILoginPanel.java')
-rw-r--r--src/jrummikub/view/ILoginPanel.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/jrummikub/view/ILoginPanel.java b/src/jrummikub/view/ILoginPanel.java
index 34978aa..6a18502 100644
--- a/src/jrummikub/view/ILoginPanel.java
+++ b/src/jrummikub/view/ILoginPanel.java
@@ -24,4 +24,35 @@ public interface ILoginPanel {
*/
public IEvent getCancelEvent();
+ /**
+ * Emitted when the user presses the use dedicated server button
+ *
+ * @return the event
+ */
+ IEvent1<String> getUseDedicatedServerEvent();
+
+ /**
+ * Set the server info in the login panel
+ *
+ * @param server
+ * the server's hostname
+ */
+ void setServer(String server);
+
+ /**
+ * Set the channel to use
+ *
+ * @param channel
+ * channel to use
+ */
+ void setChannel(String channel);
+
+ /**
+ * Sets whether the dedicated server is running
+ *
+ * @param running
+ * whether the dedicated server is running
+ */
+ void setDedicatedServerRunning(boolean running);
+
} \ No newline at end of file