summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-06-22 01:08:54 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-06-22 01:08:54 +0200
commit63013dc82cc8718e40e9557cfd83991e72d72dae (patch)
treedaea331d0adaa9de3bbfe509e4895b164681efb2 /mock/jrummikub
parent8c6bf9781f0d1ebab406e403b0b8865f7b06b536 (diff)
downloadJRummikub-63013dc82cc8718e40e9557cfd83991e72d72dae.tar
JRummikub-63013dc82cc8718e40e9557cfd83991e72d72dae.zip
Integrated dedicated server
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@563 72836036-5685-4462-b002-a69064685172
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
+
+ }
}