diff -r 0fd27995241b -r 9ac0a0a7da70 javaextensions/bluetooth/bluetoothplugins/btl2cappushplugin/inc.s60/btl2capserverconnection.h --- a/javaextensions/bluetooth/bluetoothplugins/btl2cappushplugin/inc.s60/btl2capserverconnection.h Tue May 11 16:07:20 2010 +0300 +++ b/javaextensions/bluetooth/bluetoothplugins/btl2cappushplugin/inc.s60/btl2capserverconnection.h Tue May 25 12:34:19 2010 +0300 @@ -39,6 +39,7 @@ public: OS_IMPORT L2CAPServerConnection( java::bluetooth::BluetoothFunctionServer* server); + OS_IMPORT ~L2CAPServerConnection(); OS_IMPORT int openServer(bool authorize, bool authenticate, bool encrypt, @@ -67,8 +68,8 @@ TBool encrypt, TBool master, TInt receiveMTU, TInt transmitMTU); OS_IMPORT int GetServerPSM(); + OS_IMPORT long Accept(); - OS_IMPORT int CloseServer(); OS_IMPORT ServiceRecord *getServiceRecordHandle(); @@ -99,6 +100,8 @@ void avoidFilter(); + int CloseServer(); + private: L2CAPServerConnection();