--- a/accessoryservices/accessoryserver/inc/Server/AccSrvServerModel.h Thu Aug 19 11:09:10 2010 +0300
+++ b/accessoryservices/accessoryserver/inc/Server/AccSrvServerModel.h Tue Aug 31 16:29:05 2010 +0300
@@ -172,13 +172,24 @@
void GetLastConnectedAccessoryL( TAccPolGenericID& aGenericID ) const;
/**
+ * Get last connected wired accessory.
+ *
+ * @since S60 3.1
+ * @param aGenericID On succesful return, contains the Generic ID of
+ * last connected wired accessory.
+ * @return TBool On successful return will be ETrue, else EFalse
+ */
+ TBool GetLastConnectedWiredAccessory( TAccPolGenericID& aGenericID ) const;
+
+
+ /**
* Remove the physical connection from array of detected accessories.
*
* @since S60 3.1
* @param aGenericID Generic ID of the detected accessory.
- * @return void
+ * @return index in the array
*/
- void RemovePhysicalConnection( const TAccPolGenericID& aGenericID );
+ TInt RemovePhysicalConnection( const TAccPolGenericID& aGenericID );
/**
* Get current connection status, ie. all active connections.