]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphList.h
Alfredo's second patch
[lyx.git] / src / ParagraphList.h
index aaa41c28eab9144cfa80bfd09ee8f6d68b974b6f..f60337eff4f1b58040303fea17cad0f152733bd2 100644 (file)
@@ -4,6 +4,7 @@
 #define PARAGRAPH_LIST_H
 
 #include <iterator>
+#include <utility>
 
 class Paragraph;
 
@@ -80,6 +81,12 @@ private:
        Paragraph * parlist;
 };
 
+
+
+typedef std::pair<ParagraphList::iterator, int> PitPosPair;
+
+
+
 ///
 bool operator==(ParagraphList::iterator const & i1,
                ParagraphList::iterator const & i2);
@@ -87,4 +94,5 @@ bool operator==(ParagraphList::iterator const & i1,
 bool operator!=(ParagraphList::iterator const & i1,
                ParagraphList::iterator const & i2);
 
+
 #endif