X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fformat.h;h=240d5d8a4cc9acbb932a822dca0f803ab822eeab;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=c12ff0ed6741233d351d647a47c5ec76a81c9eab;hpb=2c72e0ecaaf865dbd297652b27bf151011e987c6;p=lyx.git diff --git a/src/format.h b/src/format.h index c12ff0ed67..240d5d8a4c 100644 --- a/src/format.h +++ b/src/format.h @@ -17,6 +17,9 @@ #include #include + +namespace lyx { + class Buffer; class Format { @@ -154,21 +157,15 @@ public: bool edit(Buffer const & buffer, std::string const & filename, std::string const & format_name) const; /// - lyx::docstring const prettyName(std::string const & name) const; + docstring const prettyName(std::string const & name) const; /// std::string const extension(std::string const & name) const; /// - const_iterator begin() const { - return formatlist.begin(); - } + const_iterator begin() const { return formatlist.begin(); } /// - const_iterator end() const { - return formatlist.end(); - } + const_iterator end() const { return formatlist.end(); } /// - FormatList::size_type size() const { - return formatlist.size(); - } + FormatList::size_type size() const { return formatlist.size(); } private: /// FormatList formatlist; @@ -178,4 +175,7 @@ extern Formats formats; extern Formats system_formats; + +} // namespace lyx + #endif //FORMAT_H