bluetoothengine/btserviceutil/export/btdevextension.h
changeset 42 b72428996822
parent 31 a0ea99b6fa53
--- a/bluetoothengine/btserviceutil/export/btdevextension.h	Fri May 28 17:03:06 2010 +0300
+++ b/bluetoothengine/btserviceutil/export/btdevextension.h	Mon Jul 12 18:51:05 2010 +0300
@@ -77,14 +77,27 @@
 
     /**
      * Two-phase constructor
-     * @param aDev a CBTDevice instance. The ownership is transferred.
+     * @param aAddr the inquiry socket address of the device.
+     * @param aName the device-name of the device.
      * @param aNameOption the option for formating the default device
-     *  name when the given aDev instance has no valid name.
+     *  name when the given name is empty.
      */
     IMPORT_C static CBtDevExtension* NewLC( 
             const TInquirySockAddr& aAddr, 
             const TDesC& aName = KNullDesC,
             TDefaultDevNameOption aNameOption = EColonSeperatedBDAddr );        
+
+    /**
+     * Two-phase constructor
+     * @param aAddr the bd_addr of the device.
+     * @param aName the device-name of the device.
+     * @param aNameOption the option for formating the default device
+     *  name when the given name is empty.
+     */
+    IMPORT_C static CBtDevExtension* NewLC( 
+            const TBTDevAddr& aAddr, 
+            const TDesC& aName = KNullDesC,
+            TDefaultDevNameOption aNameOption = EColonSeperatedBDAddr );      
     
     /**
      * Destructor