X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFloatList.h;h=a2b9860fae35860c3e7a4b7995b1003e00b388c0;hb=9dafe9b9a5cb12e19e0f3a1a9669d81dc140b0e3;hp=c231d525212290d63d5dbdb6ebfd542063cd98cb;hpb=8ed9dbabde30b31a6a14e032fa42f682a196ef7a;p=lyx.git diff --git a/src/FloatList.h b/src/FloatList.h index c231d52521..a2b9860fae 100644 --- a/src/FloatList.h +++ b/src/FloatList.h @@ -4,7 +4,7 @@ * * LyX, The Document Processor * - * Copyright 1998-2000 The LyX Team. + * Copyright 1998-2001 The LyX Team. * * ====================================================== */ @@ -27,20 +27,29 @@ public: /// typedef std::map List; /// + typedef List::const_iterator const_iterator; + /// FloatList(); /// + const_iterator begin() const; + /// + const_iterator end() const; + /// void newFloat(Floating const & fl); /// - string defaultPlacement(string const & t) const; + string const defaultPlacement(string const & t) const; /// bool typeExist(string const & t) const; /// Floating const & getType(string const & t) const; + /// + const_iterator operator[](string const & t) const; private: /// List list; }; +/// extern FloatList floatList; #endif