1 /** \file usermenu.h 2 * \brief Header: user menu implementation 3 */ 4 5 #ifndef MC__USERMENU_H 6 #define MC__USERMENU_H 7 8 #include "lib/global.h" 9 10 #include "src/editor/edit.h" /* WEdit */ 11 12 /*** typedefs(not structures) and defined constants **********************************************/ 13 14 /*** enums ***************************************************************************************/ 15 16 /*** structures declarations (and typedefs of structures)*****************************************/ 17 18 /*** global variables defined in .c file *********************************************************/ 19 20 /*** declarations of public functions ************************************************************/ 21 22 gboolean user_menu_cmd (const WEdit * edit_widget, const char *menu_file, int selected_entry); 23 char *expand_format (const WEdit * edit_widget, char c, gboolean do_quote); 24 int check_format_view (const char *p); 25 int check_format_var (const char *p, char **v); 26 int check_format_cd (const char *p); 27 28 /*** inline functions ****************************************************************************/ 29 30 #endif /* MC__USERMENU_H */