2 * Copyright (c) 2009-2014 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.
17 #ifndef __VOLUME_CONTROL_H__
18 #define __VOLUME_CONTROL_H__
27 /* _check_status() return value */
29 LOCK_AND_NOT_MEDIA = -0x1,
35 int volume_control_viewport_height_get();
36 int volume_control_viewport_width_get();
37 void volume_control_show_hide_worning();
38 Eina_Bool volume_control_viewport_is_warning_visible();
40 bundle *volume_control_reset_bundle_get(void);
41 Eina_Bool volume_control_is_deleting_get(void);
42 Eina_Bool volume_control_is_launching_get(void);
43 int volume_control_current_angle_get(void);
44 sound_type_e volume_control_sound_type_at_show_get(void);
46 volume_error_e volume_control_cache_flush(void);
48 volume_error_e volume_control_app_launch_with_bundle(const char *op_type, const char *operation, const char *pkgname);
49 volume_error_e volume_control_mode_syspopup_launch(void);
50 int volume_control_vconf_idlelock_get(void);
52 int volume_control_status_check(int *lock, sound_type_e *sound_type);
54 Eina_Bool volume_control_show(void);
55 int volume_control_close(void);
57 void volume_control_vconfkey_register(void);
58 void volume_control_vconfkey_unregister(void);
60 volume_error_e volume_control_pause(void);
61 volume_error_e volume_control_reset(bundle *b);
62 volume_error_e volume_control_initialize(void);
63 void volume_control_deinitialize(void);
65 #endif /* __VOLUME_CONTROL_H__ */