mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 21:06:52 +03:00
fd895e3759
edit_widget as argument. All callers changed. (expand_format): Fix expansion of %n and %b for the editor. * util.c: Remove dead code.
37 lines
1.0 KiB
C
37 lines
1.0 KiB
C
#ifndef __USER_H
|
|
#define __USER_H
|
|
|
|
#ifndef MIDNIGHT
|
|
#include "panel.h"
|
|
#define MIDNIGHT
|
|
#include "../gtkedit/edit-widget.h"
|
|
#undef MIDNIGHT
|
|
#endif
|
|
|
|
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 *);
|
|
char *check_patterns (char*);
|
|
|
|
#ifdef OS2_NT
|
|
# define CEDIT_LOCAL_MENU "cedit.mnu"
|
|
# define CEDIT_GLOBAL_MENU "cedit.mnu"
|
|
# define CEDIT_HOME_MENU "cedit.mnu"
|
|
# define MC_LOCAL_MENU "mc.mnu"
|
|
# define MC_GLOBAL_MENU "mc.mnu"
|
|
# define MC_HOME_MENU "mc.mnu"
|
|
# define MC_HINT "mc.hnt"
|
|
#else
|
|
# define CEDIT_GLOBAL_MENU "cedit.menu"
|
|
# define CEDIT_LOCAL_MENU ".cedit.menu"
|
|
# define CEDIT_HOME_MENU ".cedit/menu"
|
|
# define MC_GLOBAL_MENU "mc.menu"
|
|
# define MC_LOCAL_MENU ".mc.menu"
|
|
# define MC_HOME_MENU ".mc/menu"
|
|
# define MC_HINT "mc.hint"
|
|
#endif
|
|
|
|
#endif
|