From 8447ffbdcc1072654f030c3d54aa52ff0f19d346 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 27 Jan 2009 00:28:18 +0100 Subject: [PATCH] Add Interface.stop() method to stop the interface. --- src/net/pterodactylus/jkeytool/gui/Interface.java | 5 +++++ src/net/pterodactylus/jkeytool/gui/swing/SwingInterface.java | 7 +++++++ 2 files changed, 12 insertions(+) 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 // -- 2.7.4