fileloc.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /** \file fileloc.h
  2. * \brief Header: config files list
  3. *
  4. * This file defines the locations of the various user specific
  5. * configuration files of the Midnight Commander. Historically the
  6. * system wide and the user specific file names have not always been
  7. * the same, so don't use these names for finding system wide
  8. * configuration files.
  9. *
  10. * \todo This inconsistency should disappear in the one of the next versions (5.0?)
  11. */
  12. #ifndef MC_FILELOC_H
  13. #define MC_FILELOC_H
  14. #ifndef MC_USERCONF_DIR
  15. #define MC_USERCONF_DIR ".mc"
  16. #endif
  17. #define TAGS_NAME "TAGS"
  18. #define MC_GLOBAL_CONFIG_FILE "mc.lib"
  19. #define MC_GLOBAL_MENU "mc.menu"
  20. #define MC_LOCAL_MENU ".mc.menu"
  21. #define MC_HINT "mc.hint"
  22. #define GLOBAL_KEYMAP_FILE "mc.keymap"
  23. #define CHARSETS_INDEX "mc.charsets"
  24. #define MC_LIB_EXT "mc.ext"
  25. #define FISH_PREFIX "fish"
  26. #define FISH_LS_FILE "ls"
  27. #define FISH_EXISTS_FILE "fexists"
  28. #define FISH_MKDIR_FILE "mkdir"
  29. #define FISH_UNLINK_FILE "unlink"
  30. #define FISH_CHOWN_FILE "chown"
  31. #define FISH_CHMOD_FILE "chmod"
  32. #define FISH_RMDIR_FILE "rmdir"
  33. #define FISH_LN_FILE "ln"
  34. #define FISH_MV_FILE "mv"
  35. #define FISH_HARDLINK_FILE "hardlink"
  36. #define FISH_GET_FILE "get"
  37. #define FISH_SEND_FILE "send"
  38. #define FISH_APPEND_FILE "append"
  39. #define FISH_INFO_FILE "info"
  40. #define MC_EXTFS_DIR "extfs.d"
  41. #define MC_BASHRC_FILE "bashrc"
  42. #define MC_CONFIG_FILE "ini"
  43. #define MC_FILEBIND_FILE "bindings"
  44. #define MC_FILEPOS_FILE "filepos"
  45. #define MC_HISTORY_FILE "history"
  46. #define MC_HOTLIST_FILE "hotlist"
  47. #define MC_USERMENU_FILE "menu"
  48. #define MC_TREESTORE_FILE "Tree"
  49. #define MC_PANELS_FILE "panels.ini"
  50. #define MC_FHL_INI_FILE "filehighlight.ini"
  51. #define MC_SKINS_SUBDIR "skins"
  52. /* editor home directory */
  53. #define EDIT_DIR MC_USERCONF_DIR PATH_SEP_STR "cedit"
  54. /* file names */
  55. #define EDIT_SYNTAX_FILE EDIT_DIR PATH_SEP_STR "Syntax"
  56. #define EDIT_CLIP_FILE EDIT_DIR PATH_SEP_STR "cooledit.clip"
  57. #define EDIT_MACRO_FILE EDIT_DIR PATH_SEP_STR "cooledit.macros"
  58. #define EDIT_BLOCK_FILE EDIT_DIR PATH_SEP_STR "cooledit.block"
  59. #define EDIT_TEMP_FILE EDIT_DIR PATH_SEP_STR "cooledit.temp"
  60. #define EDIT_GLOBAL_MENU "cedit.menu"
  61. #define EDIT_LOCAL_MENU ".cedit.menu"
  62. #define EDIT_HOME_MENU EDIT_DIR PATH_SEP_STR "menu"
  63. #endif