Subversion Repository Public Repository

litesoft

Diff Revisions 905 vs 906 for /trunk/mobileGWT/gwt-phonegap/src/main/java/com/googlecode/gwtphonegap/client/device/DeviceMobileImpl.java

Diff revisions: vs.
  @@ -31,7 +31,7 @@
31 31 @Override
32 32 public native String getName()/*-{
33 33 return $wnd.device.name;
34 - }-*/;
34 + }-*/;
35 35
36 36 /* (non-Javadoc)
37 37 * @see com.googlecode.gwtphonegap.client.device.Device#getPhoneGapVersion()
  @@ -39,7 +39,7 @@
39 39 @Override
40 40 public native String getPhoneGapVersion()/*-{
41 41 return $wnd.device.cordova;
42 - }-*/;
42 + }-*/;
43 43
44 44 /* (non-Javadoc)
45 45 * @see com.googlecode.gwtphonegap.client.device.Device#getPlatform()
  @@ -47,7 +47,7 @@
47 47 @Override
48 48 public native String getPlatform()/*-{
49 49 return $wnd.device.platform;
50 - }-*/;
50 + }-*/;
51 51
52 52 /* (non-Javadoc)
53 53 * @see com.googlecode.gwtphonegap.client.device.Device#getUuid()
  @@ -55,7 +55,7 @@
55 55 @Override
56 56 public native String getUuid()/*-{
57 57 return $wnd.device.uuid;
58 - }-*/;
58 + }-*/;
59 59
60 60 /* (non-Javadoc)
61 61 * @see com.googlecode.gwtphonegap.client.device.Device#getVersion()
  @@ -63,6 +63,11 @@
63 63 @Override
64 64 public native String getVersion()/*-{
65 65 return $wnd.device.version;
66 - }-*/;
66 + }-*/;
67 +
68 + @Override
69 + public native String getModel() /*-{
70 + return $wnd.device.model;
71 + }-*/;
67 72
68 73 }