mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
fd09abaeb2
All editor private API stuff is located now in edit/edit-impl.h. Public API is located in edit/edit.h. Added functions to read some fields of WEdit struct. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
23 lines
520 B
C
23 lines
520 B
C
|
|
/** \file user.h
|
|
* \brief Header: user menu implementation
|
|
*/
|
|
|
|
#ifndef MC_USER_H
|
|
#define MC_USER_H
|
|
|
|
#include "../edit/edit.h"
|
|
|
|
void user_menu_cmd (WEdit *edit_widget);
|
|
char *expand_format (WEdit *edit_widget, char c, int quote);
|
|
int check_format_view (const char *);
|
|
int check_format_var (const char *, char **);
|
|
int check_format_cd (const char *);
|
|
|
|
#define MC_GLOBAL_MENU "mc.menu"
|
|
#define MC_LOCAL_MENU ".mc.menu"
|
|
#define MC_HOME_MENU ".mc/menu"
|
|
#define MC_HINT "mc.hint"
|
|
|
|
#endif
|