org.symbian.tools.mtw.ui/src/org/symbian/tools/mtw/ui/deployment/bluetooth/BluetoothTarget.java
--- a/org.symbian.tools.mtw.ui/src/org/symbian/tools/mtw/ui/deployment/bluetooth/BluetoothTarget.java Wed Jul 28 09:27:51 2010 -0700
+++ b/org.symbian.tools.mtw.ui/src/org/symbian/tools/mtw/ui/deployment/bluetooth/BluetoothTarget.java Wed Jul 28 14:07:39 2010 -0700
@@ -62,10 +62,10 @@
protected String[] exceptionCodes = new String[] { "OBEX_HTTP_UNSUPPORTED_TYPE", "OBEX_HTTP_FORBIDDEN" };
private String message = "Deployment was successful. Please follow on-screen instructions to complete application deployment on your device.";
private final String name;
- private final BluetoothProvider provider;
+ private final BluetoothTargetType provider;
private final Collection<IStatus> statuses = new LinkedList<IStatus>();
- public BluetoothTarget(String name, RemoteDevice device, BluetoothProvider provider) {
+ public BluetoothTarget(String name, RemoteDevice device, BluetoothTargetType provider) {
this.name = name;
this.device = device;
this.provider = provider;
@@ -243,7 +243,7 @@
return name;
}
- public String getServicesFound() {
+ private String getServicesFound() {
try {
serviceURL = "";
UUID serviceUUID = OBEX_OBJECT_PUSH;
@@ -310,4 +310,8 @@
public void setAddress(RemoteDevice device) {
this.device = device;
}
+
+ public boolean isDiscovered() {
+ return device != null;
+ }
}