apply FSL(Flora Software License)
[framework/system/system-server.git] / ss_device_handler.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.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
7  *
8  *      http://www.tizenopensource.org/license
9  *
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.
15 */
16
17
18 #ifndef __SS_DEVICE_HANDLER_H__
19 #define __SS_DEVICE_HANDLER_H__
20
21 #include "include/ss_data.h"
22
23 /* MMC functions */
24 int ss_mmc_init();
25 int ss_mmc_inserted();
26 int ss_mmc_removed();
27
28 /* USB Storage */
29 int _ss_usb_storage_init(void);
30
31 /* Battery functions */
32 int ss_lowbat_init(struct ss_main_data *ad);
33 int ss_lowbat_is_charge_in_now();
34 int ss_lowbat_set_charge_on(int onoff);
35 int ss_lowbat_monitor(void *data);
36
37 /* Low memory functions */
38 int ss_lowmem_init(struct ss_main_data *ad);
39
40 /* USB functions */
41 int ss_usb_init();
42
43 /* TA functions */
44 int ss_ta_init();
45
46 /* device change init */
47 int ss_device_change_init(struct ss_main_data *ad);
48
49 #endif /* __SS_DEVICE_HANDLER_H__ */