source: osm/applications/editors/josm/plugins/livegps/src/LiveGpsStatus.java@ 14003

Last change on this file since 14003 was 13497, checked in by skela, 17 years ago

applications/editors/josm: Set svn:eol-style native on all *.java files
in plugins. Normalize the eol-style in
plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/StringEnumConfigurer.java.

  • Property svn:eol-style set to native
File size: 1018 bytes
Line 
1/**
2 *
3 */
4package livegps;
5
6/**
7 * @author cdaller
8 *
9 */
10public class LiveGpsStatus {
11 public enum GpsStatus {CONNECTING, CONNECTED, DISCONNECTED, CONNECTION_FAILED};
12 private String statusMessage;
13 private GpsStatus status;
14
15 /**
16 * @param status
17 * @param statusMessage
18 */
19 public LiveGpsStatus(GpsStatus status, String statusMessage) {
20 super();
21 this.status = status;
22 this.statusMessage = statusMessage;
23 }
24/**
25 * @return the status
26 */
27 public GpsStatus getStatus() {
28 return this.status;
29 }
30 /**
31 * @param status the status to set
32 */
33 public void setStatus(GpsStatus status) {
34 this.status = status;
35 }
36 /**
37 * @return the statusMessage
38 */
39 public String getStatusMessage() {
40 return this.statusMessage;
41 }
42 /**
43 * @param statusMessage the statusMessage to set
44 */
45 public void setStatusMessage(String statusMessage) {
46 this.statusMessage = statusMessage;
47 }
48
49}
Note: See TracBrowser for help on using the repository browser.