summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub')
-rw-r--r--mock/jrummikub/view/MockLoginPanel.java25
-rw-r--r--mock/jrummikub/view/MockView.java6
2 files changed, 30 insertions, 1 deletions
diff --git a/mock/jrummikub/view/MockLoginPanel.java b/mock/jrummikub/view/MockLoginPanel.java
index 8fca586..9531626 100644
--- a/mock/jrummikub/view/MockLoginPanel.java
+++ b/mock/jrummikub/view/MockLoginPanel.java
@@ -11,7 +11,8 @@ public class MockLoginPanel implements ILoginPanel {
public MockEvent1<LoginData> loginEvent = new MockEvent1<LoginData>();
/** */
public MockEvent cancelEvent = new MockEvent();
-
+ /** */
+ public MockEvent1<String> useDedicatedServerEvent = new MockEvent1<String>();
@Override
public IEvent1<LoginData> getLoginEvent() {
return loginEvent;
@@ -22,4 +23,26 @@ public class MockLoginPanel implements ILoginPanel {
return cancelEvent;
}
+ @Override
+ public IEvent1<String> getUseDedicatedServerEvent() {
+ return useDedicatedServerEvent;
+ }
+
+ @Override
+ public void setServer(String server) {
+ // TODO Auto-generated method stub
+ }
+
+ @Override
+ public void setDedicatedServerRunning(boolean running) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setChannel(String channel) {
+ // TODO Auto-generated method stub
+
+ }
+
}
diff --git a/mock/jrummikub/view/MockView.java b/mock/jrummikub/view/MockView.java
index d444b92..1cdd732 100644
--- a/mock/jrummikub/view/MockView.java
+++ b/mock/jrummikub/view/MockView.java
@@ -314,4 +314,10 @@ public class MockView implements IView {
// TODO Auto-generated method stub
}
+
+ @Override
+ public void showServerStartupError(boolean alreadyRunning) {
+ // TODO Auto-generated method stub
+
+ }
}