| 18 |
#define _MENU_H_ |
#define _MENU_H_ |
| 19 |
|
|
| 20 |
#include "common.h" |
#include "common.h" |
| 21 |
|
#include "trie_dict.h" |
| 22 |
|
|
| 23 |
#define MAX_MENUITEM_LENGTH 50 |
#define MAX_MENUITEM_LENGTH 50 |
| 24 |
#define MAX_MENUITEMS 30 |
#define MAX_MENUITEMS 30 |
| 69 |
MENU *p_menu[MAX_MENUS]; |
MENU *p_menu[MAX_MENUS]; |
| 70 |
MENU *p_menu_select[MAX_MENU_DEPTH]; |
MENU *p_menu_select[MAX_MENU_DEPTH]; |
| 71 |
int menu_count; |
int menu_count; |
| 72 |
|
TRIE_NODE *p_menu_name_dict; |
| 73 |
int menu_select_depth; |
int menu_select_depth; |
| 74 |
}; |
}; |
| 75 |
typedef struct menu_set_t MENU_SET; |
typedef struct menu_set_t MENU_SET; |