bool readString(std::string const &);
/// Reloads the LyX file
ReadStatus reload();
-//FIXME: The following two functions should be private
+//FIXME: The following function should be private
//private:
/// read the header, returns number of unknown tokens
int readHeader(Lexer & lex);
- /// save timestamp and checksum of the given file.
- void saveCheckSum() const;
private:
+ /// save timestamp and checksum of the given file.
+ void saveCheckSum() const;
/// read a new file
ReadStatus readFile(support::FileName const & fn);
/// Reads a file without header.
/// Get the name and type of the log.
std::string logName(LogType * type = 0) const;
- /// Change name of buffer. Updates "read-only" flag.
- void setFileName(std::string const & newfile);
-
/// Set document's parent Buffer.
void setParent(Buffer const *);
Buffer const * parent() const;
void checkChildBuffers();
private:
+ /// Change name of buffer. Updates "read-only" flag.
+ void setFileName(support::FileName const & fname);
///
std::vector<std::string> backends() const;
///