// limitations under the License.
//
-#ifndef __TIZEN_BLUETOOTH_ADAPTER_H__
+#ifndef __TIZEN_HEALTH_PROFILE_HANDLER_H__
#define __TIZEN_HEALTH_PROFILE_HANDLER_H__
#include <string>
};
typedef HealthConnReq* HealthConnReqPtr;
-class BluetoothHealthProfileHandler
+class BluetoothHealthProfileHandler : public Common::SecurityAccessor
{
public:
static BluetoothHealthProfileHandler* getInstance();
void unregisterApp(std::string appID, Common::MultiCallbackUserDataPtr callback);
void returnUnregisteringAppResult(std::string appID, Common::MultiCallbackUserDataPtr callback);
void connectToSource(JSObjectRef remoteDeviceObj, JSObjectRef appObj, Common::MultiCallbackUserDataPtr callback);
-
+
private:
BluetoothHealthProfileHandler();
virtual ~BluetoothHealthProfileHandler();
typedef std::map<BluetoothHealthApplicationSharedPtr, HealthConnReqPtr> HealthConnReqMapT;
typedef std::map<unsigned int, BluetoothHealthChannelPtr> HealthConnectedSocketMapT; // <channel, BluetoothHealthChannelPtr>
typedef std::map<std::string, BluetoothHealthApplicationSharedPtr> RegisteredHealthAppMapT; // <app_id, BluetoothHealthApplicationSharedPtr>
-
+
+
HealthConnReqMapT mHealthConnReqMap;
HealthConnectedSocketMapT mConnectedSocketMap;
RegisteredHealthAppMapT mRegisteredHealthAppMap;