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
26 /** \param filename the file in question. May have either a relative
28 \param buffer_path if \c filename has a relative path, generate
29 the absolute path using this.
31 void set(string const & filename, string const & buffer_path);
34 bool empty() const { return name_.empty(); }
36 bool saveAbsPath() const { return save_abs_path_; }
37 string const absFilename() const { return name_; }
38 string const relFilename(string const & buffer_path) const;
39 string const outputFilename(string const & buffer_path) const;
47 bool operator==(FileName const &, FileName const &);
48 bool operator!=(FileName const &, FileName const &);
51 } // namespace support