Add Interface.stop() method to stop the interface.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 26 Jan 2009 23:28:18 +0000 (00:28 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 26 Jan 2009 23:28:18 +0000 (00:28 +0100)
src/net/pterodactylus/jkeytool/gui/Interface.java
src/net/pterodactylus/jkeytool/gui/swing/SwingInterface.java

index 44b0a65..ced8ac1 100644 (file)
@@ -42,4 +42,9 @@ public interface Interface extends CoreListener {
         */
        public void start();
 
+       /**
+        * Shuts down the interface.
+        */
+       public void stop();
+
 }
index 4d287d9..39506e1 100644 (file)
@@ -56,6 +56,13 @@ public class SwingInterface implements Interface {
                /* TODO */
        }
 
+       /**
+        * {@inheritDoc}
+        */
+       public void stop() {
+               /* TODO */
+       }
+
        //
        // INTERFACE CoreListener
        //