mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
Add and update some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30405 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
44763a6f0f
commit
3a41879cb4
@ -222,7 +222,7 @@ class DocFileName : public FileName {
|
||||
public:
|
||||
DocFileName();
|
||||
/** \param abs_filename the file in question. Must have an absolute path.
|
||||
* \param save_abs_path how is the file to be output to file?
|
||||
* \param save_abs_path how is the filename to be output?
|
||||
*/
|
||||
DocFileName(std::string const & abs_filename, bool save_abs_path = true);
|
||||
DocFileName(FileName const & abs_filename, bool save_abs_path = true);
|
||||
@ -233,9 +233,9 @@ public:
|
||||
* the absolute path using this.
|
||||
*/
|
||||
virtual void set(std::string const & filename, std::string const & buffer_path);
|
||||
|
||||
///
|
||||
void erase();
|
||||
|
||||
///
|
||||
bool saveAbsPath() const { return save_abs_path_; }
|
||||
/// \param buffer_path if empty, uses `pwd`
|
||||
std::string relFilename(std::string const & buffer_path = empty_string()) const;
|
||||
@ -271,6 +271,8 @@ public:
|
||||
std::string unzippedFilename() const;
|
||||
|
||||
private:
|
||||
/// Records whether we should save (or export) the filename as a relative
|
||||
/// or absolute path.
|
||||
bool save_abs_path_;
|
||||
/// Cache for isZipped() because zippedFile() is expensive
|
||||
mutable bool zipped_;
|
||||
|
Loading…
Reference in New Issue
Block a user