1
1

* fileloc.h: Newly added this file, which provides a place where

all names of user specific configuration files are listed.
Этот коммит содержится в:
Roland Illig 2005-08-21 04:00:43 +00:00
родитель 03bdc998ca
Коммит 2081f5f9fa
2 изменённых файлов: 26 добавлений и 0 удалений

Просмотреть файл

@ -2,6 +2,8 @@
* view.h: Rewrote it. All functions are preceded by a describing
comment and the "extern" keyword.
* fileloc.h: Newly added this file, which provides a place where
all names of user specific configuration files are listed.
2005-08-19 Roland Illig <roland.illig@gmx.de>

24
src/fileloc.h Обычный файл
Просмотреть файл

@ -0,0 +1,24 @@
#ifndef MC_FILELOC_H
#define MC_FILELOC_H
/*
This file defines the locations of the various user specific
configuration files of the Midnight Commander. Historically the
system wide and the user specific file names have not always been
the same, so don't use these names for finding system wide
configuration files.
TODO: This inconsistency should disappear in version 5.0.
*/
#define MC_USERCONF_DIR ".mc"
#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"
#endif