javaextensions/bluetooth/bluetoothplugins/btspppushplugin/inc.s60/btrfcommserverconnection.h
--- a/javaextensions/bluetooth/bluetoothplugins/btspppushplugin/inc.s60/btrfcommserverconnection.h Fri May 14 15:47:24 2010 +0300
+++ b/javaextensions/bluetooth/bluetoothplugins/btspppushplugin/inc.s60/btrfcommserverconnection.h Thu May 27 12:49:31 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();