]> git.lyx.org Git - lyx.git/blob - src/support/path_defines.h
latin1 in author names, not utf8.
[lyx.git] / src / support / path_defines.h
1 // -*- C++ -*-
2 /**
3  * \file path_defines.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef PATH_DEFINES_H
13 #define PATH_DEFINES_H
14
15 #include "LString.h"
16
17 namespace lyx {
18 namespace support {
19
20 string const & lyx_localedir();
21
22 /* The absolute path to the lyx build directory.
23  * (Make-time value.)
24  */
25 string const & build_lyxdir();
26
27 /// The absolute path to the lyx support files we're actually going to use.
28 string const & system_lyxdir();
29
30 /// Set the absolute path to the lyx support files (from the command line).
31 void system_lyxdir(string const &);
32
33 /// The absolute path to the user-level lyx support files.
34 string const & user_lyxdir();
35
36 /// Set the absolute path to the user-level lyx support files.
37 void user_lyxdir(string const &);
38
39 /** \returns true if the user lyx dir existed already and did not need
40  *  to be created afresh.
41  */
42 bool setLyxPaths();
43
44 } // namespace support
45 } // namespace lyx
46
47 #endif // NOT PATH_DEFINES_H