]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - src/tim/prune/function/Cancellable.java
Moved source into separate src directory due to popular request
[GpsPrune.git] / src / tim / prune / function / Cancellable.java
diff --git a/src/tim/prune/function/Cancellable.java b/src/tim/prune/function/Cancellable.java
new file mode 100644 (file)
index 0000000..ad51474
--- /dev/null
@@ -0,0 +1,12 @@
+package tim.prune.function;
+
+/**
+ * Interface implemented by functions which can be cancelled
+ */
+public interface Cancellable
+{
+       /**
+        * Cancel the function
+        */
+       public void cancel();
+}