mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
#7896 add support for symlink creation by the LyX binary itself
This commit is contained in:
parent
cd046f0e0c
commit
bfc7c4d379
@ -490,6 +490,12 @@ bool FileName::chdir() const
|
||||
}
|
||||
|
||||
|
||||
bool FileName::link(FileName const & name) const
|
||||
{
|
||||
return QFile::link(toqstr(absFileName()), toqstr(name.absFileName()));
|
||||
}
|
||||
|
||||
|
||||
unsigned long checksum_ifstream_fallback(char const * file)
|
||||
{
|
||||
unsigned long result = 0;
|
||||
|
@ -143,6 +143,7 @@ public:
|
||||
/// the symlink will be destroyed).
|
||||
/// \return true on success.
|
||||
bool moveTo(FileName const & target) const;
|
||||
bool link(FileName const & name) const;
|
||||
|
||||
/// change mode of pointed file.
|
||||
/// This methods does nothing and return true on platforms that does not
|
||||
|
Loading…
Reference in New Issue
Block a user