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.
18 #ifndef __VOLUME_KEY_EVENT_H__
19 #define __VOLUME_KEY_EVENT_H__
21 Ecore_X_Window volume_key_event_input_window_get(void);
22 Ecore_Event_Handler *volume_key_event_handler_volume_up_get(void);
23 Ecore_Event_Handler *volume_key_event_handler_volume_down_get(void);
24 Ecore_Event_Handler *volume_key_event_handler_qp_state_check(void);
25 Eina_Bool volume_key_event_is_pressing_get(void);
26 int volume_key_event_count_grabed_get(void);
27 void volume_key_event_count_grabed_set(int val);
29 sound_type_e volume_key_event_sound_type_at_key_pressed_get(void);
31 int volume_key_event_key_grab(Ecore_X_Window _xwin, int grab_mode);
32 volume_error_e volume_key_event_key_ungrab(void);
34 void volume_key_event_handler_add(void);
35 void volume_key_event_handler_del(void);
36 volume_error_e volume_key_event_input_window_create(void);
38 #endif /* __VOLUME_KEY_EVENT_H__ */