|
@@ -1,4 +1,3 @@
|
|
|
-
|
|
|
/** \file fileloc.h
|
|
|
* \brief Header: config files list
|
|
|
*
|
|
@@ -14,65 +13,76 @@
|
|
|
#ifndef MC_FILELOC_H
|
|
|
#define MC_FILELOC_H
|
|
|
|
|
|
+/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
+
|
|
|
#ifndef MC_USERCONF_DIR
|
|
|
-#define MC_USERCONF_DIR ".mc"
|
|
|
+#define MC_USERCONF_DIR ".mc"
|
|
|
#endif
|
|
|
|
|
|
+#define TAGS_NAME "TAGS"
|
|
|
+
|
|
|
+#define MC_GLOBAL_CONFIG_FILE "mc.lib"
|
|
|
+#define MC_GLOBAL_MENU "mc.menu"
|
|
|
+#define MC_LOCAL_MENU ".mc.menu"
|
|
|
+#define MC_HINT "hints" PATH_SEP_STR "mc.hint"
|
|
|
+#define MC_HELP "help" PATH_SEP_STR "mc.hlp"
|
|
|
+#define GLOBAL_KEYMAP_FILE "mc.keymap"
|
|
|
+#define CHARSETS_LIST "mc.charsets"
|
|
|
+#define MC_LIB_EXT "mc.ext"
|
|
|
+
|
|
|
+#define FISH_PREFIX "fish"
|
|
|
+
|
|
|
+#define FISH_LS_FILE "ls"
|
|
|
+#define FISH_EXISTS_FILE "fexists"
|
|
|
+#define FISH_MKDIR_FILE "mkdir"
|
|
|
+#define FISH_UNLINK_FILE "unlink"
|
|
|
+#define FISH_CHOWN_FILE "chown"
|
|
|
+#define FISH_CHMOD_FILE "chmod"
|
|
|
+#define FISH_RMDIR_FILE "rmdir"
|
|
|
+#define FISH_LN_FILE "ln"
|
|
|
+#define FISH_MV_FILE "mv"
|
|
|
+#define FISH_HARDLINK_FILE "hardlink"
|
|
|
+#define FISH_GET_FILE "get"
|
|
|
+#define FISH_SEND_FILE "send"
|
|
|
+#define FISH_APPEND_FILE "append"
|
|
|
+#define FISH_INFO_FILE "info"
|
|
|
+
|
|
|
+#define MC_EXTFS_DIR "extfs.d"
|
|
|
|
|
|
-#define TAGS_NAME "TAGS"
|
|
|
-
|
|
|
-#define MC_GLOBAL_CONFIG_FILE "mc.lib"
|
|
|
-#define MC_GLOBAL_MENU "mc.menu"
|
|
|
-#define MC_LOCAL_MENU ".mc.menu"
|
|
|
-#define MC_HINT "hints" PATH_SEP_STR "mc.hint"
|
|
|
-#define MC_HELP "help" PATH_SEP_STR "mc.hlp"
|
|
|
-#define GLOBAL_KEYMAP_FILE "mc.keymap"
|
|
|
-#define CHARSETS_LIST "mc.charsets"
|
|
|
-#define MC_LIB_EXT "mc.ext"
|
|
|
-
|
|
|
-#define FISH_PREFIX "fish"
|
|
|
-
|
|
|
-#define FISH_LS_FILE "ls"
|
|
|
-#define FISH_EXISTS_FILE "fexists"
|
|
|
-#define FISH_MKDIR_FILE "mkdir"
|
|
|
-#define FISH_UNLINK_FILE "unlink"
|
|
|
-#define FISH_CHOWN_FILE "chown"
|
|
|
-#define FISH_CHMOD_FILE "chmod"
|
|
|
-#define FISH_RMDIR_FILE "rmdir"
|
|
|
-#define FISH_LN_FILE "ln"
|
|
|
-#define FISH_MV_FILE "mv"
|
|
|
-#define FISH_HARDLINK_FILE "hardlink"
|
|
|
-#define FISH_GET_FILE "get"
|
|
|
-#define FISH_SEND_FILE "send"
|
|
|
-#define FISH_APPEND_FILE "append"
|
|
|
-#define FISH_INFO_FILE "info"
|
|
|
-
|
|
|
-#define MC_EXTFS_DIR "extfs.d"
|
|
|
-
|
|
|
-#define MC_BASHRC_FILE "bashrc"
|
|
|
-#define MC_CONFIG_FILE "ini"
|
|
|
-#define MC_FILEBIND_FILE "bindings"
|
|
|
-#define MC_FILEPOS_FILE "filepos"
|
|
|
-#define MC_HISTORY_FILE "history"
|
|
|
-#define MC_HOTLIST_FILE "hotlist"
|
|
|
-#define MC_USERMENU_FILE "menu"
|
|
|
-#define MC_TREESTORE_FILE "Tree"
|
|
|
-#define MC_PANELS_FILE "panels.ini"
|
|
|
-#define MC_FHL_INI_FILE "filehighlight.ini"
|
|
|
-#define MC_SKINS_SUBDIR "skins"
|
|
|
+#define MC_BASHRC_FILE "bashrc"
|
|
|
+#define MC_CONFIG_FILE "ini"
|
|
|
+#define MC_FILEBIND_FILE "bindings"
|
|
|
+#define MC_FILEPOS_FILE "filepos"
|
|
|
+#define MC_HISTORY_FILE "history"
|
|
|
+#define MC_HOTLIST_FILE "hotlist"
|
|
|
+#define MC_USERMENU_FILE "menu"
|
|
|
+#define MC_TREESTORE_FILE "Tree"
|
|
|
+#define MC_PANELS_FILE "panels.ini"
|
|
|
+#define MC_FHL_INI_FILE "filehighlight.ini"
|
|
|
+#define MC_SKINS_SUBDIR "skins"
|
|
|
|
|
|
/* editor home directory */
|
|
|
-#define EDIT_DIR MC_USERCONF_DIR PATH_SEP_STR "cedit"
|
|
|
+#define EDIT_DIR MC_USERCONF_DIR PATH_SEP_STR "cedit"
|
|
|
|
|
|
/* file names */
|
|
|
-#define EDIT_SYNTAX_FILE EDIT_DIR PATH_SEP_STR "Syntax"
|
|
|
-#define EDIT_CLIP_FILE EDIT_DIR PATH_SEP_STR "cooledit.clip"
|
|
|
-#define EDIT_MACRO_FILE EDIT_DIR PATH_SEP_STR "cooledit.macros"
|
|
|
-#define EDIT_BLOCK_FILE EDIT_DIR PATH_SEP_STR "cooledit.block"
|
|
|
-#define EDIT_TEMP_FILE EDIT_DIR PATH_SEP_STR "cooledit.temp"
|
|
|
-
|
|
|
-#define EDIT_GLOBAL_MENU "cedit.menu"
|
|
|
-#define EDIT_LOCAL_MENU ".cedit.menu"
|
|
|
-#define EDIT_HOME_MENU EDIT_DIR PATH_SEP_STR "menu"
|
|
|
+#define EDIT_SYNTAX_FILE EDIT_DIR PATH_SEP_STR "Syntax"
|
|
|
+#define EDIT_CLIP_FILE EDIT_DIR PATH_SEP_STR "cooledit.clip"
|
|
|
+#define EDIT_MACRO_FILE EDIT_DIR PATH_SEP_STR "cooledit.macros"
|
|
|
+#define EDIT_BLOCK_FILE EDIT_DIR PATH_SEP_STR "cooledit.block"
|
|
|
+#define EDIT_TEMP_FILE EDIT_DIR PATH_SEP_STR "cooledit.temp"
|
|
|
+
|
|
|
+#define EDIT_GLOBAL_MENU "cedit.menu"
|
|
|
+#define EDIT_LOCAL_MENU ".cedit.menu"
|
|
|
+#define EDIT_HOME_MENU EDIT_DIR PATH_SEP_STR "menu"
|
|
|
+
|
|
|
+/*** enums ***************************************************************************************/
|
|
|
+
|
|
|
+/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
+
|
|
|
+/*** global variables defined in .c file *********************************************************/
|
|
|
+
|
|
|
+/*** declarations of public functions ************************************************************/
|
|
|
+
|
|
|
+/*** inline functions ****************************************************************************/
|
|
|
|
|
|
#endif
|