tizen 2.3.1 release
[apps/home/volume-app.git] / include / view.h
1 /*
2  * Copyright (c) 2009-2014 Samsung Electronics Co., Ltd All Rights Reserved
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
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 __VOLUME_VIEW_H__
19 #define __VOLUME_VIEW_H__
20
21 Evas_Object *volume_view_win_get(void);
22 Evas_Object *volume_view_outer_layout_get(void);
23 Evas_Object *volume_view_icon_volume_get(void);
24 Evas_Object *volume_view_icon_setting_get(void);
25 Evas_Object *volume_view_slider_get(void);
26 Eina_Bool volume_view_is_registered_callback_get(void);
27 Eina_Bool volume_view_is_slider_touching_get(void);
28 void volume_view_is_registered_callback_set(Eina_Bool val);
29 int volume_mute_toggle_set(void);
30
31 volume_error_e volume_view_slider_value_set(int val);
32 //volume_error_e volume_view_icon_set(void);
33 void volume_view_volume_icon_set(sound_type_e sound_type, int sound, int vibration);
34 void volume_view_setting_icon_set(const char *file);
35 void volume_view_setting_icon_callback_del(void);
36
37 volume_error_e volume_view_window_show(void);
38 volume_error_e volume_view_window_hide(void);
39
40 volume_error_e volume_view_layout_create(Evas_Object *win);
41 Evas_Object *volume_view_window_create(void);
42
43 Evas_Object* show_lockscreen_splash(const char *bg_path);
44 volume_error_e hide_lockscreen_splash(void);
45
46 #endif /* __VOLUME_VIEW_H__ */