/*
- * bluetooth-frwk
- *
- * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
*
*/
+
#ifndef _BT_REQUEST_HANDLER_H_
#define _BT_REQUEST_HANDLER_H_
#include <sys/types.h>
-#include <dbus/dbus-glib.h>
#include <glib.h>
#include <glib-object.h>
#define BT_SERVICE_NAME "org.projectx.bt"
#define BT_SERVICE_PATH "/org/projectx/bt_service"
-#define BT_SERVICE_TYPE (bt_service_get_type())
-
-typedef struct _BtService
-{
- GObject object;
-} BtService;
-
-typedef struct _BtServiceClass
-{
- GObjectClass object_class;
-} BtServiceClass;
-
-gboolean bt_service_request(
- BtService *service,
- int service_type,
- int service_function,
- int request_type,
- GArray* in_param1,
- GArray* in_param2,
- GArray* in_param3,
- GArray* in_param4,
- GArray* in_param5,
- DBusGMethodInvocation *context);
-
int _bt_service_register(void);
void _bt_service_unregister(void);
+int _bt_service_cynara_init(void);
+
+void _bt_service_cynara_deinit(void);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */