From: David ‘Bombe’ Roden Date: Mon, 26 Jan 2009 23:28:18 +0000 (+0100) Subject: Add Interface.stop() method to stop the interface. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8447ffbdcc1072654f030c3d54aa52ff0f19d346;p=jkeytool.git Add Interface.stop() method to stop the interface. --- diff --git a/src/net/pterodactylus/jkeytool/gui/Interface.java b/src/net/pterodactylus/jkeytool/gui/Interface.java index 44b0a65..ced8ac1 100644 --- a/src/net/pterodactylus/jkeytool/gui/Interface.java +++ b/src/net/pterodactylus/jkeytool/gui/Interface.java @@ -42,4 +42,9 @@ public interface Interface extends CoreListener { */ public void start(); + /** + * Shuts down the interface. + */ + public void stop(); + } diff --git a/src/net/pterodactylus/jkeytool/gui/swing/SwingInterface.java b/src/net/pterodactylus/jkeytool/gui/swing/SwingInterface.java index 4d287d9..39506e1 100644 --- a/src/net/pterodactylus/jkeytool/gui/swing/SwingInterface.java +++ b/src/net/pterodactylus/jkeytool/gui/swing/SwingInterface.java @@ -56,6 +56,13 @@ public class SwingInterface implements Interface { /* TODO */ } + /** + * {@inheritDoc} + */ + public void stop() { + /* TODO */ + } + // // INTERFACE CoreListener //