]> git.lyx.org Git - lyx.git/blobdiff - src/FloatList.h
fix typo that put too many include paths for most people
[lyx.git] / src / FloatList.h
index c231d525212290d63d5dbdb6ebfd542063cd98cb..42aca7bc29d5dd2861d7b2a8e0646dd344b6a65a 100644 (file)
@@ -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,20 +27,29 @@ 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 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