org.symbian.tools.mtw.ui/src/org/symbian/tools/mtw/ui/deployment/bluetooth/BluetoothTarget.java
changeset 456 12b549765c34
parent 455 5da55957c779
child 457 f1087591ff71
--- 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;
+    }
 }