fileloc.h 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. /*** typedefs(not structures) and defined constants **********************************************/
  15. #ifndef MC_USERCONF_DIR
  16. #define MC_USERCONF_DIR ".mc"
  17. #endif
  18. #define TAGS_NAME "TAGS"
  19. #define MC_GLOBAL_CONFIG_FILE "mc.lib"
  20. #define MC_GLOBAL_MENU "mc.menu"
  21. #define MC_LOCAL_MENU ".mc.menu"
  22. #define MC_HINT "hints" PATH_SEP_STR "mc.hint"
  23. #define MC_HELP "help" PATH_SEP_STR "mc.hlp"
  24. #define GLOBAL_KEYMAP_FILE "mc.keymap"
  25. #define CHARSETS_LIST "mc.charsets"
  26. #define MC_LIB_EXT "mc.ext"
  27. #define FISH_PREFIX "fish"
  28. #define FISH_LS_FILE "ls"
  29. #define FISH_EXISTS_FILE "fexists"
  30. #define FISH_MKDIR_FILE "mkdir"
  31. #define FISH_UNLINK_FILE "unlink"
  32. #define FISH_CHOWN_FILE "chown"
  33. #define FISH_CHMOD_FILE "chmod"
  34. #define FISH_RMDIR_FILE "rmdir"
  35. #define FISH_LN_FILE "ln"
  36. #define FISH_MV_FILE "mv"
  37. #define FISH_HARDLINK_FILE "hardlink"
  38. #define FISH_GET_FILE "get"
  39. #define FISH_SEND_FILE "send"
  40. #define FISH_APPEND_FILE "append"
  41. #define FISH_INFO_FILE "info"
  42. #define MC_EXTFS_DIR "extfs.d"
  43. #define MC_BASHRC_FILE "bashrc"
  44. #define MC_CONFIG_FILE "ini"
  45. #define MC_FILEBIND_FILE "bindings"
  46. #define MC_FILEPOS_FILE "filepos"
  47. #define MC_HISTORY_FILE "history"
  48. #define MC_HOTLIST_FILE "hotlist"
  49. #define MC_USERMENU_FILE "menu"
  50. #define MC_TREESTORE_FILE "Tree"
  51. #define MC_PANELS_FILE "panels.ini"
  52. #define MC_FHL_INI_FILE "filehighlight.ini"
  53. #define MC_SKINS_SUBDIR "skins"
  54. /* editor home directory */
  55. #define EDIT_DIR MC_USERCONF_DIR PATH_SEP_STR "cedit"
  56. /* file names */
  57. #define EDIT_SYNTAX_FILE EDIT_DIR PATH_SEP_STR "Syntax"
  58. #define EDIT_CLIP_FILE EDIT_DIR PATH_SEP_STR "cooledit.clip"
  59. #define EDIT_MACRO_FILE EDIT_DIR PATH_SEP_STR "cooledit.macros"
  60. #define EDIT_BLOCK_FILE EDIT_DIR PATH_SEP_STR "cooledit.block"
  61. #define EDIT_TEMP_FILE EDIT_DIR PATH_SEP_STR "cooledit.temp"
  62. #define EDIT_GLOBAL_MENU "cedit.menu"
  63. #define EDIT_LOCAL_MENU ".cedit.menu"
  64. #define EDIT_HOME_MENU EDIT_DIR PATH_SEP_STR "menu"
  65. /*** enums ***************************************************************************************/
  66. /*** structures declarations (and typedefs of structures)*****************************************/
  67. /*** global variables defined in .c file *********************************************************/
  68. /*** declarations of public functions ************************************************************/
  69. /*** inline functions ****************************************************************************/
  70. #endif