diff -r 0fd27995241b -r 9ac0a0a7da70 javaextensions/bluetooth/bluetoothplugins/btspppushplugin/inc.s60/btrfcommserverconnection.h --- a/javaextensions/bluetooth/bluetoothplugins/btspppushplugin/inc.s60/btrfcommserverconnection.h Tue May 11 16:07:20 2010 +0300 +++ b/javaextensions/bluetooth/bluetoothplugins/btspppushplugin/inc.s60/btrfcommserverconnection.h Tue May 25 12:34:19 2010 +0300 @@ -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();