]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
fix startup when lyx binary is a symlink
[lyx.git] / src / support / filetools.h
index 5b89d84eb9f0e1a5eb1d3c4a21c32d6bc47fbcbe..bd15dfd3df6cb00172c08312a5b13a4f03020163 100644 (file)
@@ -195,9 +195,10 @@ string const GetFileContents(string const & fname);
 */
 string const ReplaceEnvironmentPath(string const & path);
 
-/* Set Link to the path file points to as a symbolic link.
+/* Set \c link to the path \c file points to as a symbolic link.
+   If \c resolve is true, then \c link is an absolute path
    Returns true if successful */
-bool LyXReadLink(string const & file, string & Link);
+bool LyXReadLink(string const & file, string & link, bool resolve = false);
 
 /// Uses kpsewhich to find tex files
 string const findtexfile(string const & fil, string const & format);