From: Richard Heck Date: Sat, 29 Mar 2008 16:12:38 +0000 (+0000) Subject: Cosmetics. X-Git-Tag: 1.6.10~5359 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b9c79778d71e74a92ab10374ebc5ef0299130930;p=features.git Cosmetics. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24042 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/EmbeddedFiles.h b/src/EmbeddedFiles.h index a263bb39df..20b1f427d1 100644 --- a/src/EmbeddedFiles.h +++ b/src/EmbeddedFiles.h @@ -94,6 +94,7 @@ class ErrorList; class EmbeddedFile : public support::DocFileName { public: + /// EmbeddedFile(std::string const & file = std::string(), std::string const & buffer_path = std::string()); @@ -179,7 +180,6 @@ public: /// move an embedded disk file with an existing inzip_name_ to /// a calculated inzip_name_, if they differ. void syncInzipFile(std::string const & buffer_path); - private: /// filename in zip file std::string inzip_name_; @@ -207,8 +207,8 @@ public: void enable(bool flag, Buffer & buffer, bool updateFile); /// add a file item. - /* \param file Embedded file to add - * \param inset Inset pointer + /** \param file Embedded file to add + * \param inset Inset pointer */ void registerFile(EmbeddedFile const & file, Inset const * inset, Buffer const & buffer); @@ -216,6 +216,7 @@ public: /// or null if not found. The filename should be absolute. const_iterator findFile(std::string const & filename) const; iterator findFile(std::string const & filename); + /// validate embedded fies after a file is read. void validate(Buffer const & buffer); /// scan the buffer and get a list of EmbeddedFile