2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #ifndef _BT_SERVICE_EVENT_MANAGER_H_
20 #define _BT_SERVICE_EVENT_MANAGER_H_
22 #include <sys/types.h>
23 #include <bt-service-common.h>
30 BT_EVENT_TIMER_ENABLE = 0x00,
31 BT_EVENT_TIMER_DISABLE,
32 BT_EVENT_TIMER_START_DISCOVERY,
33 BT_EVENT_TIMER_STOP_DISCOVERY,
34 BT_EVENT_TIMER_FOUND_DEVICE,
39 void _bt_create_event_timer(int event_id, int interval, void *event_cb, void *user_data);
41 void _bt_delete_event_timer(int event_id);
43 void _bt_delete_all_event_timer(void);
45 int _bt_get_sample_device_number(void);
47 bt_remote_dev_info_t *_bt_get_sample_device(int index);
52 #endif /* __cplusplus */
53 #endif /*_BT_SERVICE_EVENT_MANAGER_H_*/