]> git.lyx.org Git - lyx.git/blobdiff - src/format.h
hopefully fix tex2lyx linking.
[lyx.git] / src / format.h
index c12ff0ed6741233d351d647a47c5ec76a81c9eab..240d5d8a4cc9acbb932a822dca0f803ab822eeab 100644 (file)
@@ -17,6 +17,9 @@
 #include <vector>
 #include <string>
 
+
+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