]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/undo/UndoOperation.java
Version 1, September 2006
[GpsPrune.git] / tim / prune / undo / UndoOperation.java
diff --git a/tim/prune/undo/UndoOperation.java b/tim/prune/undo/UndoOperation.java
new file mode 100644 (file)
index 0000000..5efa1fe
--- /dev/null
@@ -0,0 +1,21 @@
+package tim.prune.undo;\r
+\r
+import tim.prune.data.TrackInfo;\r
+\r
+/**\r
+ * Interface implemented by all Undo Operations\r
+ */\r
+public interface UndoOperation\r
+{\r
+       /**\r
+        * Get the description of this operation\r
+        * @return description of operation including parameters\r
+        */\r
+       public String getDescription();\r
+\r
+       /**\r
+        * Perform the undo operation on the specified track\r
+        * @param inTrackInfo TrackInfo object on which to perform the operation\r
+        */\r
+       public void performUndo(TrackInfo inTrackInfo) throws UndoException;\r
+}
\ No newline at end of file