From: Fredrik Tolf Date: Wed, 16 Feb 2022 18:24:47 +0000 (+0100) Subject: Added Watcher.added(). X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=31f44c3f51ad7eb8aa5b0602e67eca92ce0d124b;p=jagi.git Added Watcher.added(). --- diff --git a/src/jagi/event/Watcher.java b/src/jagi/event/Watcher.java index 4b85c80..85b7e91 100644 --- a/src/jagi/event/Watcher.java +++ b/src/jagi/event/Watcher.java @@ -9,4 +9,5 @@ public interface Watcher { public void handle(int events) throws Exception; public default void close() {} public default double timeout() {return(Double.POSITIVE_INFINITY);} + public default void added(Driver d) {} }