fileloc.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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 MC_EXTFS_DIR "extfs.d"
  26. #define MC_BASHRC_FILE "bashrc"
  27. #define MC_CONFIG_FILE "ini"
  28. #define MC_FILEBIND_FILE "bindings"
  29. #define MC_FILEPOS_FILE "filepos"
  30. #define MC_HISTORY_FILE "history"
  31. #define MC_HOTLIST_FILE "hotlist"
  32. #define MC_USERMENU_FILE "menu"
  33. #define MC_TREESTORE_FILE "Tree"
  34. #define MC_PANELS_FILE "panels.ini"
  35. #define MC_FHL_INI_FILE "filehighlight.ini"
  36. #define MC_SKINS_SUBDIR "skins"
  37. /* editor home directory */
  38. #define EDIT_DIR MC_USERCONF_DIR PATH_SEP_STR "cedit"
  39. /* file names */
  40. #define EDIT_SYNTAX_FILE EDIT_DIR PATH_SEP_STR "Syntax"
  41. #define EDIT_CLIP_FILE EDIT_DIR PATH_SEP_STR "cooledit.clip"
  42. #define EDIT_MACRO_FILE EDIT_DIR PATH_SEP_STR "cooledit.macros"
  43. #define EDIT_BLOCK_FILE EDIT_DIR PATH_SEP_STR "cooledit.block"
  44. #define EDIT_TEMP_FILE EDIT_DIR PATH_SEP_STR "cooledit.temp"
  45. #define EDIT_GLOBAL_MENU "cedit.menu"
  46. #define EDIT_LOCAL_MENU ".cedit.menu"
  47. #define EDIT_HOME_MENU EDIT_DIR PATH_SEP_STR "menu"
  48. #endif