X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFloatList.h;h=42aca7bc29d5dd2861d7b2a8e0646dd344b6a65a;hb=98c966c64594611e469313314abd1e59524adb4a;hp=a1bab70dcf63ad9de28569e7b67b695d62b882d3;hpb=45a03f4f67bb00f8142e465c615f348f0622eb32;p=lyx.git diff --git a/src/FloatList.h b/src/FloatList.h index a1bab70dcf..42aca7bc29 100644 --- a/src/FloatList.h +++ b/src/FloatList.h @@ -1,10 +1,10 @@ // -*- C++ -*- /* This file is part of * ====================================================== - * + * * LyX, The Document Processor * - * Copyright 1998-2000 The LyX Team. + * Copyright 1998-2001 The LyX Team. * * ====================================================== */ @@ -27,8 +27,14 @@ 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 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;