m4.include/mc-use-termcap.m4: fixed const char* issue which triggers break on -Wall
[free-mc.git] / src / fileloc.h
blob12f000769358794039783b7930a2a1af21709e2f
2 /** \file fileloc.h
3 * \brief Header: config files list
5 * This file defines the locations of the various user specific
6 * configuration files of the Midnight Commander. Historically the
7 * system wide and the user specific file names have not always been
8 * the same, so don't use these names for finding system wide
9 * configuration files.
11 * \todo This inconsistency should disappear in the one of the next versions (5.0?)
14 #ifndef MC_FILELOC_H
15 #define MC_FILELOC_H
17 #ifndef MC_USERCONF_DIR
18 #define MC_USERCONF_DIR ".mc"
19 #endif
22 #define TAGS_NAME "TAGS"
24 #define MC_GLOBAL_CONFIG_FILE "mc.lib"
25 #define MC_GLOBAL_MENU "mc.menu"
26 #define MC_LOCAL_MENU ".mc.menu"
27 #define MC_HINT "mc.hint"
28 #define GLOBAL_KEYMAP_FILE "mc.keymap"
29 #define CHARSETS_INDEX "mc.charsets"
30 #define MC_LIB_EXT "mc.ext"
33 #define MC_BASHRC_FILE "bashrc"
34 #define MC_CONFIG_FILE "ini"
35 #define MC_FILEBIND_FILE "bindings"
36 #define MC_FILEPOS_FILE "filepos"
37 #define MC_HISTORY_FILE "history"
38 #define MC_HOTLIST_FILE "hotlist"
39 #define MC_USERMENU_FILE "menu"
40 #define MC_TREESTORE_FILE "Tree"
41 #define MC_PANELS_FILE "panels.ini"
42 #define MC_FHL_INI_FILE "filehighlight.ini"
43 #define MC_SKINS_SUBDIR "skins"
45 /* editor home directory */
46 #define EDIT_DIR MC_USERCONF_DIR PATH_SEP_STR "cedit"
48 /* file names */
49 #define EDIT_SYNTAX_FILE EDIT_DIR PATH_SEP_STR "Syntax"
50 #define EDIT_CLIP_FILE EDIT_DIR PATH_SEP_STR "cooledit.clip"
51 #define EDIT_MACRO_FILE EDIT_DIR PATH_SEP_STR "cooledit.macros"
52 #define EDIT_BLOCK_FILE EDIT_DIR PATH_SEP_STR "cooledit.block"
53 #define EDIT_TEMP_FILE EDIT_DIR PATH_SEP_STR "cooledit.temp"
55 #define EDIT_GLOBAL_MENU "cedit.menu"
56 #define EDIT_LOCAL_MENU ".cedit.menu"
57 #define EDIT_HOME_MENU EDIT_DIR PATH_SEP_STR "menu"
59 #endif