]> git.lyx.org Git - lyx.git/blobdiff - src/FloatList.h
Applied Angus patch to compile on DEC C++ and to avoid name clashes
[lyx.git] / src / FloatList.h
index a1bab70dcf63ad9de28569e7b67b695d62b882d3..b95e9b6bc70ec2f2b0f1b1bce88f70c7341f3480 100644 (file)
@@ -27,8 +27,14 @@ public:
        ///
        typedef std::map<string, Floating> List;
        ///
+       typedef List::const_iterator const_iterator;
+       ///
        FloatList();
        ///
+       const_iterator begin() const;
+       ///
+       const_iterator end() const;
+       ///
        void newFloat(Floating const & fl);
        ///
        string const defaultPlacement(string const & t) const;
@@ -36,6 +42,8 @@ public:
        bool typeExist(string const & t) const;
        ///
        Floating const & getType(string const & t) const;
+       ///
+       const_iterator operator[](string const & t) const;
 private:
        ///
        List list;