1 package tim.prune.save;
4 * Settings for controlling what gets exported,
5 * for example by the Gpx export functions
7 public class SettingsForExport
9 private boolean _exportTrackPoints = true;
10 private boolean _exportWaypoints = true;
11 private boolean _exportJustSelection = false;
12 private boolean _exportTimestamps = true;
13 private boolean _exportMissingAltitudes = false;
14 private boolean _exportPhotoPoints = true;
15 private boolean _exportAudioPoints = true;
17 /** Set to export track points or not */
18 public void setExportTrackPoints(boolean inExport) {
19 _exportTrackPoints = inExport;
22 /** Set to export waypoints or not */
23 public void setExportWaypoints(boolean inExport) {
24 _exportWaypoints = inExport;
27 /** Set to export just the selection or everything */
28 public void setExportJustSelection(boolean inExport) {
29 _exportJustSelection = inExport;
32 /** Set to export timestamps or not */
33 public void setExportTimestamps(boolean inExport) {
34 _exportTimestamps = inExport;
37 /** Set to export missing altitudes as zero or not */
38 public void setExportMissingAltitudesAsZero(boolean inExport) {
39 _exportMissingAltitudes = inExport;
42 /** Set to export photo points or not */
43 public void setExportPhotoPoints(boolean inExport) {
44 _exportPhotoPoints = inExport;
47 /** Set to export audio points or not */
48 public void setExportAudiopoints(boolean inExport) {
49 _exportAudioPoints = inExport;
52 /** @return true to export track points */
53 public boolean getExportTrackPoints() {return _exportTrackPoints;}
54 /** @return true to export waypoints */
55 public boolean getExportWaypoints() {return _exportWaypoints;}
56 /** @return true to export just the selection */
57 public boolean getExportJustSelection() {return _exportJustSelection;}
58 /** @return true to export timestamps */
59 public boolean getExportTimestamps() {return _exportTimestamps;}
60 /** @return true to export zeroes for missing altitudes */
61 public boolean getExportMissingAltitudesAsZero() {return _exportMissingAltitudes;}
62 /** @return true to export photo points */
63 public boolean getExportPhotoPoints() {return _exportPhotoPoints;}
64 /** @return true to export audio points */
65 public boolean getExportAudioPoints() {return _exportAudioPoints;}