]> git.lyx.org Git - lyx.git/blobdiff - src/support/path_defines.h
* lyxfunctional.h: delete compare_memfun and helper classes
[lyx.git] / src / support / path_defines.h
index db97e81e70610069114eee56adead8277f550e5f..97dfc3a8ca46d14db1350b6a81164d521f9d207d 100644 (file)
 #ifndef PATH_DEFINES_H
 #define PATH_DEFINES_H
 
-#include "support/std_string.h"
+#include <string>
+
 
 namespace lyx {
 namespace support {
 
-string const & lyx_localedir();
+std::string const & lyx_localedir();
+
+/* The absolute path to the top of the lyx build tree.
+ * (Make-time value.)
+ */
+std::string const & top_srcdir();
 
 /// The absolute path to the lyx support files we're actually going to use.
-string const & system_lyxdir();
+std::string const & system_lyxdir();
 
 /// Set the absolute path to the lyx support files (from the command line).
-void system_lyxdir(string const &);
+void system_lyxdir(std::string const &);
 
 /// The absolute path to the lyx support files in the build directory
-string const & build_lyxdir();
+std::string const & build_lyxdir();
 
 /// The absolute path to the user-level lyx support files.
-string const & user_lyxdir();
+std::string const & user_lyxdir();
 
 /// Set the absolute path to the user-level lyx support files.
-void user_lyxdir(string const &);
+void user_lyxdir(std::string const &);
 
 /** \returns true if the user lyx dir existed already and did not need
  *  to be created afresh.