4 * Interface implemented by clients who want to know
5 * about changes made to the data or its selection
7 public interface DataSubscriber
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 public static final byte MAPSERVER_CHANGED = 64;
20 * Inform clients that data has been updated
21 * @param inUpdateType type of update
23 public void dataUpdated(byte inUpdateType);
26 * Inform clients that an action has been completed
27 * @param inMessage message describing action
29 public void actionCompleted(String inMessage);