]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/DataSubscriber.java
Version 2, March 2007
[GpsPrune.git] / tim / prune / DataSubscriber.java
index ae6c3be8ee617825f1b7f38cf7fd07ea69ec9c77..766ed5399fda870f3a740e6e4e2bdd322c9a7aa6 100644 (file)
@@ -6,9 +6,17 @@ package tim.prune;
  */
 public interface DataSubscriber
 {
+       public static final byte DATA_ADDED_OR_REMOVED = 1;
+       public static final byte DATA_EDITED           = 2;
+       public static final byte SELECTION_CHANGED     = 4;
+       public static final byte WAYPOINTS_MODIFIED    = 8;
+       public static final byte PHOTOS_MODIFIED       = 16;
+       public static final byte UNITS_CHANGED         = 32;
+       public static final byte ALL                   = 63;
+
        /**
         * Inform clients that data has been updated
         */
-       public void dataUpdated();
+       public void dataUpdated(byte inUpdateType);
 
 }