The source code moved from the SPIN with license changed to Flora 1.1
[apps/native/home/homescreen-efl.git] / inc / option_menu.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.1 (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://floralicense.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 OPTION_MENU_H_
18 #define OPTION_MENU_H_
19
20
21 #include <stdbool.h>
22
23 /**
24  * @brief Shows option menu with proper entries.
25  * @return true on success.
26  */
27 extern bool option_menu_show(void);
28
29 /**
30  * @brief Hides option menu popup.
31  */
32 extern void option_menu_hide(void);
33
34 /**
35  * @brief Handle hardware button actions.
36  */
37 extern void option_menu_change_state_on_hw_menu_key(void);
38
39 /**
40  * @brief Updates caption menu at the top of the screen.
41  */
42 extern void option_menu_update_on_item_selected(void);
43
44
45 #endif /* OPTION_MENU_H_ */