org.symbian.tools.mtw.ui/src/org/symbian/tools/mtw/ui/deployment/bluetooth/BluetoothTarget.java
equal
deleted
inserted
replaced
60 private String serviceURL; |
60 private String serviceURL; |
61 private RemoteDevice device; |
61 private RemoteDevice device; |
62 protected String[] exceptionCodes = new String[] { "OBEX_HTTP_UNSUPPORTED_TYPE", "OBEX_HTTP_FORBIDDEN" }; |
62 protected String[] exceptionCodes = new String[] { "OBEX_HTTP_UNSUPPORTED_TYPE", "OBEX_HTTP_FORBIDDEN" }; |
63 private String message = "Deployment was successful. Please follow on-screen instructions to complete application deployment on your device."; |
63 private String message = "Deployment was successful. Please follow on-screen instructions to complete application deployment on your device."; |
64 private final String name; |
64 private final String name; |
65 private final BluetoothProvider provider; |
65 private final BluetoothTargetType provider; |
66 private final Collection<IStatus> statuses = new LinkedList<IStatus>(); |
66 private final Collection<IStatus> statuses = new LinkedList<IStatus>(); |
67 |
67 |
68 public BluetoothTarget(String name, RemoteDevice device, BluetoothProvider provider) { |
68 public BluetoothTarget(String name, RemoteDevice device, BluetoothTargetType provider) { |
69 this.name = name; |
69 this.name = name; |
70 this.device = device; |
70 this.device = device; |
71 this.provider = provider; |
71 this.provider = provider; |
72 } |
72 } |
73 |
73 |
241 |
241 |
242 public String getName() { |
242 public String getName() { |
243 return name; |
243 return name; |
244 } |
244 } |
245 |
245 |
246 public String getServicesFound() { |
246 private String getServicesFound() { |
247 try { |
247 try { |
248 serviceURL = ""; |
248 serviceURL = ""; |
249 UUID serviceUUID = OBEX_OBJECT_PUSH; |
249 UUID serviceUUID = OBEX_OBJECT_PUSH; |
250 |
250 |
251 final Object serviceSearchCompletedEvent = new Object(); |
251 final Object serviceSearchCompletedEvent = new Object(); |
308 } |
308 } |
309 |
309 |
310 public void setAddress(RemoteDevice device) { |
310 public void setAddress(RemoteDevice device) { |
311 this.device = device; |
311 this.device = device; |
312 } |
312 } |
|
313 |
|
314 public boolean isDiscovered() { |
|
315 return device != null; |
|
316 } |
313 } |
317 } |