216993a23911c1c174b9428402feb8f3f9078fa3
[apps/home/clock.git] / include / clock_vconf.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 #ifndef __DEF_CLOCK_APPLICATION_VCONF_H_
18 #define __DEF_CLOCK_APPLICATION_VCONF_H_
19
20 /**
21  * Load vconf setting from vconf module,
22  * And save such information to data
23  *
24  * @param[out]  data   Pointer to the application data structure,
25  *                     which used for store vconf setting
26  *
27  * @return     EINA_FALSE if load failed
28  *             EINA_TRUE if load successfully.
29  */
30 Eina_Bool clock_vconf_load_history_conf(void *data);
31
32 /**
33  * Save the system setting which read from app data structure,
34  * And save such information into vconf setting
35  *
36  * @param[in]  data   Pointer to the application data structure,
37  *                    which used for read setting used for store
38  *
39  * @return     EINA_FALSE if save failed
40  *             EINA_TRUE if save successfully.
41  */
42 Eina_Bool clock_vconf_set_history_conf(void *data);
43
44 /**
45  * Check battery state for judging if battery low.
46  *
47  * @return     EINA_FALSE if battery low
48  *             EINA_TRUE if not
49  */
50 Eina_Bool clock_vconf_check_battery_low();
51
52 #endif                          /* __DEF_CLOCK_APPLICATION_VCONF_H_ */