]> gitweb.fperrin.net Git - GpsPrune.git/blob - tim/prune/DataSubscriber.java
Version 4, January 2008
[GpsPrune.git] / tim / prune / DataSubscriber.java
1 package tim.prune;
2
3 /**
4  * Interface implemented by clients who want to know
5  * about changes made to the data or its selection
6  */
7 public interface DataSubscriber
8 {
9         public static final byte DATA_ADDED_OR_REMOVED = 1;
10         public static final byte DATA_EDITED           = 2;
11         public static final byte SELECTION_CHANGED     = 4;
12         public static final byte WAYPOINTS_MODIFIED    = 8;
13         public static final byte PHOTOS_MODIFIED       = 16;
14         public static final byte UNITS_CHANGED         = 32;
15         public static final byte ALL                   = 63;
16
17         /**
18          * Inform clients that data has been updated
19          * @param inUpdateType type of update
20          */
21         public void dataUpdated(byte inUpdateType);
22
23 }