4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Hocheol Seo <hocheol.seo@samsung.com>
7 * Girishashok Joshi <girish.joshi@samsung.com>
8 * Chanyeol Park <chanyeol.park@samsung.com>
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
14 * http://www.apache.org/licenses/LICENSE-2.0
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
25 #ifndef _BT_REQUEST_HANDLER_H_
26 #define _BT_REQUEST_HANDLER_H_
28 #include <sys/types.h>
29 #include <dbus/dbus-glib.h>
31 #include <glib-object.h>
33 #include "bt-internal-types.h"
39 #define BT_SERVICE_NAME "org.projectx.bt"
40 #define BT_SERVICE_PATH "/org/projectx/bt_service"
42 #define BT_SERVICE_TYPE (bt_service_get_type())
44 typedef struct _BtService
49 typedef struct _BtServiceClass
51 GObjectClass object_class;
54 gboolean bt_service_request(
64 DBusGMethodInvocation *context);
66 int _bt_service_register(void);
68 void _bt_service_unregister(void);
70 int _bt_service_cynara_init(void);
72 void _bt_service_cynara_deinit(void);
77 #endif /* __cplusplus */
78 #endif /*_BT_REQUEST_HANDLER_H_*/