diff -r 854be117f6a5 -r c6043ea9b06a javaextensions/bluetooth/bluetoothplugins/btspppushplugin/inc.s60/btrfcommserverconnection.h --- a/javaextensions/bluetooth/bluetoothplugins/btspppushplugin/inc.s60/btrfcommserverconnection.h Thu Jun 17 22:39:53 2010 +0100 +++ b/javaextensions/bluetooth/bluetoothplugins/btspppushplugin/inc.s60/btrfcommserverconnection.h Fri Jun 18 16:25:31 2010 +0100 @@ -39,6 +39,7 @@ public: OS_IMPORT RFCOMMServerConnection( java::bluetooth::BluetoothFunctionServer* server); + OS_IMPORT ~RFCOMMServerConnection(); OS_IMPORT int openServer(bool authorize, bool authenticate, bool encrypt); @@ -60,12 +61,10 @@ OS_IMPORT int restorePersistentRecord(); OS_IMPORT int - ServerOpen(TBool authorize, TBool authenticate, TBool encrypt); + ServerOpen(TBool authorize, TBool authenticate, TBool encrypt); OS_IMPORT long Accept(); - OS_IMPORT int CloseServer(); - OS_IMPORT int GetRfListeningChannel(); OS_IMPORT ServiceRecord *getServiceRecordHandle(); @@ -97,6 +96,8 @@ void avoidFilter(); + int CloseServer(); + private: RFCOMMServerConnection();