4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS.
12 #ifndef PATH_DEFINES_H
13 #define PATH_DEFINES_H
21 std::string const & lyx_localedir();
23 /* The absolute path to the top of the lyx build tree.
26 std::string const & top_srcdir();
28 /// The absolute path to the lyx support files we're actually going to use.
29 std::string const & system_lyxdir();
31 /// Set the absolute path to the lyx support files (from the command line).
32 void system_lyxdir(std::string const &);
34 /// The absolute path to the lyx support files in the build directory
35 std::string const & build_lyxdir();
37 /// The absolute path to the user-level lyx support files.
38 std::string const & user_lyxdir();
40 /// Set the absolute path to the user-level lyx support files.
41 void user_lyxdir(std::string const &);
43 /** \returns true if the user lyx dir existed already and did not need
44 * to be created afresh.
48 } // namespace support
51 #endif // NOT PATH_DEFINES_H